| Langecrew 2006-01-12, 2:08 pm |
| Hi everybody!
I've been working with D2005 at a new job for about 6 or 7 months now, and I've come across a very annoying and troublesome problem: (Note that what follows below is design-time issue...Not a run-time issue, that I could understand easily as something I had done wrong in my code)
-I have a main form (of course)
-the main form contains a tab control with four or five tab sheets
-when I double click on the file to open my main form, I find that EVERY SINGLE component on the second tabsheet has been reduced in size by exactly 20 pixels.
-this happens EVERY TIME I open the form, WITHOUT FAIL...you could almost set your watch by it
Now, I thought that this was just something strange going on with my project, so I did the usual stuff...you know, removing and re-adding every file from and then to the project, deleting every file and copying the code to new files as plain text and adding it back into the project, I TRIED EVERYTHING...nothing would stop this from happening!
It has gotten to the point where I have hard-coded the size and position of each and every one of about 40 components. I also, using the Visual designer, make the components large enough to cover the entire form every fourth or fifth time I open it so the components will not get small enough to be invisible. I've even set the size constraints and they get changed too!
Lets say I put a button on my form and set the height to 200, and I set the Min height to 200 also. If I then close the form and re-open it, the button height AND Min height are now both 180! I have watched this happen until the component is too thin to grab with the mouse, at which point I get a run-time error from the Delphi system files (Height Cannot Be Negative!).
This would have been bad enough, but now it is happening with another one of my projects that is even on a different hard drive.
Virus scan (by 3 different virus scanners)...nothing
Spyware scan (by 3 different spyware engines)...nothing
check registry for oddity...nothing
Has anyone else experienced this with Delphi? Have I gone Mad? Am I doing something incredibly wrong? Am I Crazy? Am I stupid? Am I Tripping out? OR...does Borland feed Lead Paint chips to their development staff?
WHAT THE #@!$ IS GOING ON?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?
SOMEBODY HELP ME!!!! |