Resize Event and MDI Tabs |
Post Reply |
Author | |
Woody
Newbie Joined: 07 July 2004 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 10 September 2004 at 8:42am |
All I could find on the Resize event was this:
Occurs any time the layout of any command bars component changes. For
example, when the windows is resized, a tab is closed in the tab workspace, or
the status bar is hidden. Can you give an example of how to use this to detect when a tab is closed in the tab workspace, and get the Tab ID / reference. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
This should be used to reposition and resize the different components
of your application. It is called when a tab is closed because
the commandbars, specifically, the tabworkspace needs to be
redrawn/resized.
To detect a tab being closed, I would put some code in the execute event when the close button that you added to your right click menu has been clicked. And you can place some code in your MDIChild's form unload event. |
|
Post Reply | |
Tweet
|
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 |