Delphi Automatically changing size of components and fonts between users - delphi

I've just came across a very very disturbing issue. I work with another programer and we share the code thru SVN. There's this project we're working on that I had started first. I've modelled all the layouts and did all the forms already, and some code also. So far so good. But the issue is, whenever my peer gets the files from the server, when Delphi loads the project, it messes up all FontSizes of all VCL components, along with all heights and widths.
Just to ilustrate, this is what mine looks like
And this is what his looks like
It's the same files, we copied directly from the SVN server, we tried getting the files directly from my computer, but to no success. We have a spare computer from an employee that left the company, and on that PC, it works! All properties get messed up when he loads my project files (double clicking the .dpr and .dproj)
We all use Windows 8 64bit and Rad Studio XE2. Any help would be appreciated.

Related

Delphi not opening projects

I have been using Delphi 2010 for some time with no issues but recently every time I try to open a project I get a dialog box asking me to open the project
with a folder that doesn't exist. How do I change the path Delphi opens projects.
Assuming you are using Windows...(up to 10 anyway)
Right click on the project's DPR and choose Properties.
What does the Opens with: line say? Mine says bdsLauncher.exe
If it says anything else, then you somehow had the system change it directly or indirectly. Virus, installation of some other text editor, whatever...not a big deal in any case. Do the same check for files with extensions DPROJ, GROUPPROJ, ...
If you need to change it, the file should be in a path similar to my C:\Program Files (x86)\Embarcadero\Studio\21.0\bin except that your version isn't 21.0
I did have issues once upon a time with XE7 where I had to set DPR to open with bds.exe, and DPROJ opened fine with bdsLauncher, but it was probably due to IT's setup of my laptop for someone else, and something with the Win 10 software reset (instead of a format or restore from clone) when they gave it to me. Installing an XE7 update fixed the problem, and it hasn't been an issue since we moved to 10.4

Delphi (XE) BPL Packages do not load: DevExpress, RemObjects

Good Day,
I am in the process of trying to open a legacy software project in Delphi XE. Whenever I try to open the IDE, I get around 100 - 110 error messages, one error message per DevExpress component not loading. This happens when I open the IDE itself AND when I open an existing project now.
The funniest part is that the paths to these BPLs are correct and all the "missing" BPL files are in those paths. The Environment variables point to these folders as well, and yet it just doesn't work. I attached a few pictures for ease of reference. You will notice the "missing" files in the Folder displayed in the screenshots. The BPLs are there, the paths are correct, but these modules just will not load...
What am I doing wrong? Why can't Delphi see these files and load them, even though these files are indeed present in those specified folders? Is there another setting I can try?
Thank you very much in advance!
Attached Images:
After a bunch of attempts, in the end it was necessary to completely remove both RemObjects as well as DevExpress, and then re-installing them one-by-one. Everything was fine after that.

C++ Builder 10.1 Berlin IDE problem - doesn't detect externally changed source file

I have a main form and a couple of GUI component files in my project. When I have a lot of editing to do, I prefer to do it outside the RAD Studio IDE (using Vim, if you wondered...).
If I make a change and go back to the IDE, it should detect that the file has been changed externally and ask me to reload it. This works as expected on all the files bar one of the component C++ files, on which it NEVER works!
This is a major pain as I can make a change and when I later do a build, the out-of-date IDE version is saved, overwriting the changes I made with Vim.
Does anyone know a) why it happens, and b) why to only one file?
Any help appreciated.

Delphi 7 IDE freezes trying to open a specific project

I'm getting pretty desperate here. I've looked at this question which seems to have a similar question to me:
Delphi IDE is not visible
Unfortunately it appears to only apply to newer versions of Delphi, and I am using Delphi 7 which doesn't have the discussed .dproj file extensions.
Basically my project will not open up in Delphi. My colleague has gotten the latest source from Perforce and it works for him, but doing the same thing does not work for me on my machine. I have installed one plugin about 2 weeks ago, which didn't seem to cause this error. Regardless, I've uninstalled it but still no fix.
I am able to open other projects.
Edit for clarity The IDE hangs when the startup window tries to load on screen. I've tried adding the parameter -np to the shortcut target to stop loading the last loaded project. But then going to the dpr file from inside Delphi causes the program to hang when the unit I was last in tries loading.
Is there anything I can do to fix this issue? I'm trying to avoid a full re-install as this is a complicated procedure in our organisation.

Can't find Code Explorer Window in Delphi 6 running on Windows 7 64-bit. How to get it back?

I'm having a really strange problem with the Delphi 6 IDE running on Windows 7 (64-bit edition). I just can't find the Code Explorer window pane. Usually it's docked against the left side of the Code Editor window. If not there, then you can find it by opening the View menu and selecting Code Explorer. But the Code Explorer is not docked to the Code Editor and when I drop down the View Menu the Code Explorer option is simply not there. All the other options are: Project Manager, Object Inspector, Object TreeView, etc. but just not the Code Explorer. Everything else about the IDE works great. Has anybody else had this problem and if so, what can I do to get it back? I rely on that view quite heavily.
Also, once I undock a view it doesn't seem to want to dock again. I hover over the usual areas in the edit window and it won't accept it the orphaned view as a docking client.
-- roschler
I can't reproduce the missing Code Explorer menu item. It works fine for me.
Regarding the non-dockable windows have you tried right clicking on the troublesome floating window and making sure that Dockable is ticked?
One thing to try when Delphi's IDE is giving you grief is to delete any .dsk files.
Finally, Delphi 6 pre-dates UAC and assumes that you can write to the installation directory. Have you made sure that Delphi is able to do this one way or another?
Sorry I don't have a definitive answer, but this is all I can think of.
For the record,
I had the same problem as you Robert.
Configuration:
Delphi 6 Enterprise, installed to a custom location.
Update Pack 2
Several Third Party Components
Windows 7, Spanish and English languages in Regional and language settings, and keyboard layout settings. Default language 'spanish',
default keyboard distribution 'english'.
Issues:
No 'code explorer' context menu item,
In editor, no 'complete class at cursor'.
Ctrl+Shift+C not working
Ctrl+Shift+Up/Down Arrow not working.
I uninstalled Delphi, uninstalled English language, removed keymappings to change keyboard layout (Ctrl+Shift).
Then I installed Delphi again, custom location, execute the installer as administator -> no issues.
I installed the third party components -> no issues
To install the update pack, this time, I opened the exe with winrar, decompressed the file, changed the files 'setup.exe', '_ISDel.exe' and '_BDEL.EXE' to execute always as administrator for all users. Run 'setup.exe' as administrator.
I don't know exactly which step did the trick but now I have no Issues.
I just tried with Delphi 6 on Win64, and have all the windows. And all expected menu items. Sometimes, there is some problems of refresh, but when I restart the IDE, everything is back there.
But I've installed:
Delphi 6 Suite Entreprise;
Update pack 2;
DDevExtension;
Delphi SpeedUp;
CnPack.
All is installed not in C:\Program Files but in a custom C:\Progs directory, which has all security rights set for all authenticated users. You should not install Delphi 6 under C:\Program Files, in all cases.
Works like a charm. Perhaps one of the add-ons fixed the issue.

Resources