On Feb 12, 2007, at 10:43 AM, johnf wrote:
> When "AutoSize" is set to True I don't see a difference.
Because you've already run the dialog, and Dabo remembers the size
from the last time.
> But that is a guess. What I want is to have the "AutoSize" to
> determine the
> width of the Grid after it is populated and adjust.
> What I think might be happening is the "AutoSize" is determining
> the size of
> the last hSizer I added to provide the width setting. It seems I
> can always
> see the buttons I've added along the bottom of the form.
You might also try setting the dialog's SaveRestorePosition property
to False.
The ability for all controls to remember their size is a cool thing
to have in Dabo, but it can be a pain when you're trying to play
around with various layouts, since you can never be sure if the
result you see is from your code or from the saved info.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev