![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Sat, Apr 22 2017 10:59 AM | Permanent Link |
thomh | Hi Tim,
Could you add an OnMinimize and OnRestore event to TPanel? Or is there another way to capture when the minimize/restore button is pressed in the caption bar? Thanks. // Thom |
Sun, Apr 23 2017 11:03 AM | Permanent Link |
Uli Becker | > Or is there another way to capture when the minimize/restore button is pressed in the caption bar?
You can use the resize event like this: if Panel1.Height = Panel1.CaptionBar.Height + Panel1.Border.Top.Width then Panel1.CaptionBar.Caption := 'Minimized' else Panel1.CaptionBar.Caption := 'Maximized'; @Tim: There seems to be an issue with the TPanel interface: "ApplyProperties.Border" is set to true (at least in the desktop interface). So changes of the border values don't apply after a state change. Uli |
Tue, Apr 25 2017 9:21 AM | Permanent Link |
thomh | Thanks, Uli.
I will check this out. // Thom |
Tue, Apr 25 2017 10:37 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Uli,
<< There seems to be an issue with the TPanel interface: "ApplyProperties.Border" is set to true (at least in the desktop interface). So changes of the border values don't apply after a state change. >> Yeah, I'm going to have to figure out a different way to deal with the minimize transitions. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Saturday, June 3, 2023 at 10:17 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |