Float pane method |
Post Reply |
Author | |
Maui
Groupie Joined: 10 June 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Posted: 24 December 2004 at 5:09am |
Assuming I had a docked window and I used the float pane method to float it, what method could I then use to return it back to its docked state? Thanks |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
You would need to destroy the pane and create a new one. When you
create it, you can place it in it original state. You will need
to keep track of the location, remember, that when a pane is destroyed,
the object attached still exists, so you can attatch the old object
back to the new pane. Take a look at how the reading pane is
moved by code in the Outlook 2003 sample.
Edited by SuperMario |
|
Maui
Groupie Joined: 10 June 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
|
Thanks for the work around. Is a propper DockPane method planned for future releases? As I have already said I consider the ability to float and dock a pane to be fundamentals of a control of this type. To have to go to the extreme of destroying the pane and recreating again in its new location seems extreme. The functionality I am suggesting already exists, it happens when you double click the title bar of a floating pane. I would like to see is this same functionality in a single call. Thanks |
|
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 |