Re: Position Control

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

Thanks Derek :)


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

>
>--
>Derek
>
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu