> 2. Shift in size and location so that they STILL fill the screen from > left to right, and are of equal sizes. > > Is there a way to user Anchors to accomplish this?
No. You seem to have worked your way through all the cool uses of Anchors and quickly reached the complicated case where they break down. To wit: On any given "line" of the form, you can only have one control that resizes as the form stretches -- the others can move (have a right anchor) but not resize (have right and left anchors) otherwise spacing between controls will not be maintained. There is, by the way, a control that does exactly what you want -- the DBNavigator. That resizes all buttons proportionately as the control resizes. Of course, you do not have the ability to write custom eeps for each button on that control, but you can put flyover hints on each button with application specific text. > Must I use the property command on each one to calculate the correct left > position and width and set it one control at a time in an eep? Yes -- and the code wouldn't be hard to write. However, to the best of my knowledge there's no appropriate place to "call" that code. Many windows development environments give you an OnResize event, but R:Base doesn't and furthermore, probably shouldn't because EEP code runs relatively slowly and you'd get a strange effect of the form not "keeping up" with the mouse as the EEP was called over and over and over and over again during the resize. -- Larry Lustig
