Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Panel not maximized when data member activate=true.

The panel activates on startup as expected (activate =true), but it is not maximized.  The panel spans almost top to bottom and about half of the width.  The panel can be maximized or minimized by clicking in the upper r.h. corner, but it cannot be stretched.  Is there something I can do to make this panel maximize at startup?
 
Thanks,
Joe C.
0 Kudos
Message 1 of 4
(3,671 Views)
Try using the 'maximize' writable member (maximize = true) instead of (or in addition to) the activate writable member.  I think this will give you the desired result.
0 Kudos
Message 2 of 4
(3,665 Views)
That might work, but I already have maximize set for a button press.  Each of my panels has a common set of panel selection buttons.  When you press one of the panel buttons, the selected panel is maximized.  That all works like I want.  My only problem is getting any one of the panels to maximize at startup.  Thanks for your consideration.
 
Regards,
 
Joe c.
0 Kudos
Message 3 of 4
(3,658 Views)
Sounds like you might have tried adding the ‘true’ to the maximize writable member and found that the pushbuttons no longer work.  Most people would attempt this with something like ‘maximize= pb1 or true’.  The reason this will not work is the value of the expression (pb1 or true) never changes – its forever true.  If you embed a oneshot around the true keyword, the pushbutton functionality will still work.  This would look like ‘maximize= pb1 or oneshot (true, 00:01)’.  If you’re looking for a way to maximize at startup and also use the pushbutton, this will do the trick.
Message 4 of 4
(3,645 Views)