Re: Position Control
- Posted by Derek Parnell <ddparnell at bigpond.com> May 02, 2004
- 407 views
Chris B wrote: > > Hello all, > > I have been trying to place a textbox at the bottom of a window based on the > size of the window. So no matter what size the window is, the textbox is > always positioned at the bottom. I cannot seem to get it right. Anyone have > any ideas? If you are using win32lib ...
procedure Resize_Window(integer self, integer event, sequence parms) setRect( myTextBox, boxleft, {w32AltEdge,-boxheight}, boxwidth, boxheight, 1) end procedure setHandler(theWindow, w32HResize, routine_id("Resize_Window"))
-- Derek