Makeing scroll field expand with the program

Kevin J kj2005.28 at gmail.com
Thu Mar 10 14:07:59 EST 2005


I figured out how to do it witht he geometry settings


On Thu, 10 Mar 2005 13:58:48 -0500, Kevin J <kj2005.28 at gmail.com> wrote:
> Well I tried what you showed but it does not work and the don't wrap
> is not checked and it does not work. So I must bedoing somthing wrong
> that I can't figure out.
> 
> 
> On Thu, 10 Mar 2005 17:17:11 +0100, Klaus Major <klaus at major-k.de> wrote:
> > Hi Kevin,
> >
> > > I am trying to make a simple text editor I have to questions that I
> > > can't figure out when it comes to a multiline text field.
> > >
> > > 1) How do I make the text field expand to fit the window when a user
> > > expands the program to fit the entire screen?
> >
> > you need a "resizestack" handler in your stack, since that message will
> > be sent to your current card (and stack) if the user does these kind of
> > things,
> > resizing the stack manually or clicking the "maximize" button in the
> > window
> > title bar...
> >
> > Like (very simple! :-):
> >
> > on resizestack
> >     lock screen
> >     set the width of fld "my field" to the width of this cd
> >     ## set the width
> >
> >    set the left of fld "my field" to the left of this cd
> >    ## adjust the field...
> > end resizestack
> >
> > will make taht field as wide as the stack is :-)
> > You get the picture...
> >
> > > 2) How do I mak the lines line wrap rather then just continue on in
> > > one line
> >
> > In the inspector UNcheck "dontwrap" for that field.
> >
> > Hope that helps...
> >
> > > Thank you for all your help with learning how to do things with
> > > revolution. I have been watching the video tutorials and they helped
> > > alot.
> > >
> > > Kevin
> >
> > Regards
> >
> > Klaus Major
> > klaus at major-k.de
> > http://www.major-k.de
> >
> >
>


More information about the use-livecode mailing list