Sytze de Boer wrote:
> It's a shame we have to ask this question.
> VFP version 11 surely would have had a feature where a proper sizing routine
> would have been built in.
> I have tried a number of "sizer" downloads from various fox sites and they
> simply do not work "smoothly". Now, I'm not criticising any ones efforts
> here, but I would really love to hear/see of one that works, so this
> question does not need to be asked. i.e. your system shrinks/expands as
> required.

I think the current state of the art in the Windows world is using anchors. I 
always 
just did it manually with lots of code (we have this width, and this control 
stays a 
fixed width while this one can grow, etc.).

It doesn't help you, but I think wxWidgets (the lib Dabo uses) has it right 
with 
sizers. They are a hierarchical tree (each sizer can contain objects and/or 
other 
sizers). Each sizer handles either horizontal or vertical. The sizer hierarchy 
is 
completely separate from the object relationship hierarchy. It takes minimal 
code to 
set up, and the sizers take care of control sizes and positions for you, which 
is 
extra important when dealing with multiple platforms (the font size on Mac can 
be 
quite different than that on Windows, requiring more space to be allocated to 
the 
label, etc.) and multiple locales (the translated string in Italian or German 
may be 
3 times as long as the English, requiring more room).

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to