Paul McNett wrote:
> johnf wrote:
>> On Friday 06 February 2009 04:38:30 pm Jacek Kałucki wrote:
>>
>>> Sorry Paul, but your commit doesn't work exactly the same way as my
>>> modifications.
>>> Yest, it restores position and maximized state correctly, but size of
>>> window is always restored
>>> to its default size. Under Windows at last. I will test it deeply tomorrow.
>> I don't understand this - I must not understand what happening on your 
>> computer.  My testing shows that the form restores exactly as it was saved.  
>> IOW if I make the form small or large it is restored correctly.  I've tested 
>> windows XP and Linux.
>>
>> I wonder if you are using
>> app.BasePrefKey = "someName" in your app to maintain the information?  I 
>> believe that's the correct way to insure that the data is maintained.
> 
> If it restores the position and state, then it is persisting the values to 
> the prefs 
> database just fine, so something else is the matter.

Problem confirmed. The MDI parent window retains its size (and presumably an 
SDI 
window would, too), but the MDI child window only retains its position and 
state, not 
size. Not sure what I did to mess this up, but will look at it over the weekend.

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to