Re: Position Control

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu