Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
Error when setting TForm.Height < 48 |
Sat, Apr 28 2012 8:52 AM | Permanent Link |
thomh | I have a form with the following properties set:
ShowBorder = True ShowCaption = False ShowCloseButton = False ShowIcon = False ShowShadow = False If I set the height of this form < 48 then I get the following error: Invalid argument. Line: 11311 // Thom |
Sun, Apr 29 2012 12:47 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Thom,
<< If I set the height of this form < 48 then I get the following error: >> This is now fixed. -- Tim Young Elevate Software www.elevatesoft.com |
Sun, May 6 2012 11:07 PM | Permanent Link |
Rick | "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:A5078AD2-EAD4-44AF-96EE-3F2677751235@news.elevatesoft.com... > > << If I set the height of this form < 48 then I get the following error: > >> > > This is now fixed. > Hi Tim. The May 3rd build does indeed fix the height problem but setting the width < 4 causes the same issue. Setting either the width or height to 0 appears to do nothing (the form dimensions remain as they were). Lots of weirdness if the caption, icon and shadows are showing and the form dimensions are set low (this is using the default theme): o The caption bar never shrinks and sometimes can't be dragged if the height gets small enough. o The shadow moves to the other side(s) of the form. o The Invalid Argument error is shown if the width is set less than 80 (ShowIcon=True) or less than 58 (ShowIcon=False). I realize that there are size considerations when displaying the caption, icon and shadow however it might be worth looking at a different way of handling this situation. Perhaps supporting a minimum form size (constraints) or simply removing the caption, icon, shadow, etc. if the size gets too small. -- Rick |
Mon, May 7 2012 12:25 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Rick,
<< The May 3rd build does indeed fix the height problem but setting the width < 4 causes the same issue. >> I'll make sure this is fixed. << Setting either the width or height to 0 appears to do nothing (the form dimensions remain as they were). >> You can't set dimensions to 0 for elements in IE, so they are ignored. << Lots of weirdness if the caption, icon and shadows are showing and the form dimensions are set low (this is using the default theme): o The caption bar never shrinks and sometimes can't be dragged if the height gets small enough. >> The caption bar is part of the theme, so it uses a fixed height. << o The shadow moves to the other side(s) of the form. >> I'll make sure this is fixed. << I realize that there are size considerations when displaying the caption, icon and shadow however it might be worth looking at a different way of handling this situation. Perhaps supporting a minimum form size (constraints) or simply removing the caption, icon, shadow, etc. if the size gets too small. >> The form should be enforcing the minimum size as the caption height, border height/width, etc. I'll double-check this when I fix the above. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Sunday, May 19, 2024 at 08:46 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |