![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
![]() |
Wed, Apr 18 2012 11:16 AM | Permanent Link |
Robert Devine | Hi Tim
I'm using a panel without a caption as a status bar. If I set the height to 25 in the designer it tries to set the panel height to a negative value when the app runs in the IDE. I'm guessing it's something to do with when the caption height is subtracted. I'm now setting height at runtime so it's not a problem but I can see it causing some headscratching... Cheers, Bob |
Wed, Apr 18 2012 12:05 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Bob,
<< I'm using a panel without a caption as a status bar. If I set the height to 25 in the designer it tries to set the panel height to a negative value when the app runs in the IDE. I'm guessing it's something to do with when the caption height is subtracted. I'm now setting height at runtime so it's not a problem but I can see it causing some headscratching... >> Thanks, I'll make sure that this is fixed. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Apr 18 2012 11:15 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Bob,
<< I'm using a panel without a caption as a status bar. If I set the height to 25 in the designer it tries to set the panel height to a negative value when the app runs in the IDE. I'm guessing it's something to do with when the caption height is subtracted. I'm now setting height at runtime so it's not a problem but I can see it causing some headscratching... >> Do you simply have the ShowCaption property set to False ? I'm doing that, and the panel height is being set properly (no negative numbers). -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Apr 19 2012 6:16 AM | Permanent Link |
Robert Devine | Hi Tim
Yes, dropped a panel on my main form, set ShowCaption to false and height = 25 and the "invalid argument" error appears when you hit run. Set height = 30 and it's ok, 29 also errors. This is default theme. For glossy blue the critical value is 45, which is the sum of the caption and bottom border heights. Cheers, Bob On 19/04/2012 04:15, Tim Young [Elevate Software] wrote: > Bob, > > << I'm using a panel without a caption as a status bar. If I set the > height to 25 in the designer it tries to set the panel height to a > negative value when the app runs in the IDE. I'm guessing it's something > to do with when the caption height is subtracted. I'm now setting height > at runtime so it's not a problem but I can see it causing some > headscratching... >> > > Do you simply have the ShowCaption property set to False ? I'm doing > that, and the panel height is being set properly (no negative numbers). > |
Thu, Apr 19 2012 8:28 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Bob,
<< Yes, dropped a panel on my main form, set ShowCaption to false and height = 25 and the "invalid argument" error appears when you hit run. Set height = 30 and it's ok, 29 also errors. This is default theme. >> Got it finally, thanks. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, March 30, 2023 at 10:19 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |