Capturing the size of a form in dialog

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Capturing the size of a form in dialog

Postby patrick » Sat Feb 19, 2005 5:48 pm

Hello,

is there a way to figure out the size and position of a formInDialog on closing (the last position/size it had)?
application.getWindowSize related functions deliver the size of the form behind the form in dialog (the main form underneath), it seems...

Thanks
Patrick
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby ebrandt » Sun Feb 20, 2005 9:46 pm

Could you not capture the size of the window as it was opened, and insert the into a global, or create a table for window specs to refer to in your method?
ebrandt
 
Posts: 590
Joined: Tue Mar 30, 2004 6:54 pm
Location: largo, fl

Postby patrick » Sun Feb 20, 2005 10:58 pm

I want to remember the window sizes. Some user have big screens and if you use table view and anchors resizing is very useful. But I see no way of how I can capture the size the user chose to have...
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 13 guests