I don't this is an approved use, but you can put some editfields in a group
edit box. lock left and right for the edit fields. Then when you change the
size of the group edit box, it changes the size of the edit fields, keeping
them
the same width, although the control over their width is not very fine - the
space between the edit fields changes.
Its not that hard to do it in code. If you have n editfields of width w, in a
window of width W, and you want the space between them to remain proportional
at m = .2w then
W = nw + (n+1)(.2w) = w(1.2n + .2)
So w = W/(1.2n + .2)
for i = 0 to n-1
editfield(i).left = .2*w + i*w
next
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|