TFormSize: Problem Saving Form Size |
Post Reply ![]() |
Author | |
Maughan Steve ![]() Senior Member ![]() Joined: 06 Sep 2011 Posts: 137 |
![]() ![]() ![]() ![]() Posted: 03 Sep 2019 at 9:20pm |
Hi Bruno,
I'm having problems saving a form's size using TFormSize. Note: I use the component to save the size but not the position. Here's a video that explains: And here's a link to the the test project: It worked wonderfully in the past. It's something to do with the latest changes in the VCL UI Pack. I'm using the latest (10.0.4.0). Hope it can be fixed soon! Thanks, Steve
|
|
![]() |
|
Maughan Steve ![]() Senior Member ![]() Joined: 06 Sep 2011 Posts: 137 |
![]() ![]() ![]() ![]() |
HI Bruno - are you able to replicate the problem?
Thanks, Steve
|
|
![]() |
|
Bruno Fierens ![]() TMS Support ![]() Joined: 11 May 2010 Posts: 8398 |
![]() ![]() ![]() ![]() |
I could run & see that when the Load*/Save* methods are not used, it doesn't persist the size.
I could not yet allocate sufficient time to investigate more deeply what is causing this and how to solve this. I'd suggest for now, as a workaround to call the Load*/Save* methods. |
|
![]() |
|
Maughan Steve ![]() Senior Member ![]() Joined: 06 Sep 2011 Posts: 137 |
![]() ![]() ![]() ![]() |
Hi Bruno,
Sorry, I mustn't have been clear. It's not saving the size when the Load / Save methods are called. Or if it is, the size is not correct. In this case, calling the Load / Save methods isn't a workaround. Best regards, Steve
|
|
![]() |
|
Maughan Steve ![]() Senior Member ![]() Joined: 06 Sep 2011 Posts: 137 |
![]() ![]() ![]() ![]() |
Hi Bruno,
Any news? Has this bug been fixed? As it stands, the component is unusable for saving a form's size and I'll need to remove the component from my project. Thanks, Steve
|
|
![]() |
|
Bruno Fierens ![]() TMS Support ![]() Joined: 11 May 2010 Posts: 8398 |
![]() ![]() ![]() ![]() |
We have fixed an issue with TFormSize.
At the same time, when you adapt the TFormSize settings from the form's OnCreate event , this is too late for the TFormSize to automatically pickup the form settings. If you want it to pickup the form settings from the form's OnCreate event , you will need to call LoadFormSettings.
But if you do all TFormSize settings at design-time, it will work. The next TMS VCL UI Pack release with contain this updated TFormSize. |
|
![]() |
|
Maughan Steve ![]() Senior Member ![]() Joined: 06 Sep 2011 Posts: 137 |
![]() ![]() ![]() ![]() |
Wonderful - thanks Bruno!
|
|
![]() |
|
Maughan Steve ![]() Senior Member ![]() Joined: 06 Sep 2011 Posts: 137 |
![]() ![]() ![]() ![]() |
HI Bruno - do you have an ETA for the next release of the VCL UI Pack? If it's not imminent could you send me the fixed files for TFormSize?
Thanks, Steve
|
|
![]() |
|
Bruno Fierens ![]() TMS Support ![]() Joined: 11 May 2010 Posts: 8398 |
![]() ![]() ![]() ![]() |
The release will be at earliest after our TMS Training days (Nov 14,15,18)
If you need an incremental update faster, please contact us by email. |
|
![]() |
|
Maughan Steve ![]() Senior Member ![]() Joined: 06 Sep 2011 Posts: 137 |
![]() ![]() ![]() ![]() |
Thanks!
|
|
![]() |
|
Jaschke Matthias ![]() New Member ![]() Joined: 13 Jan 2013 Posts: 34 |
![]() ![]() ![]() ![]() |
I have similar problem. Sometimes after starting program, form starts at top left position. I hope, that update is coming soon. |
|
![]() |
|
Bruno Fierens ![]() TMS Support ![]() Joined: 11 May 2010 Posts: 8398 |
![]() ![]() ![]() ![]() |
We are working hard to have the next major release in the week of Nov 25.
If you prefer an urgent incremental source update, please contact us by email. Edited by Bruno Fierens - 17 Nov 2019 at 8:45am |
|
![]() |
Post Reply ![]() |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |