AW: AW: AW: which field property to set for 'scrolling'?

Tiemo Hollmann TB toolbook at kestner.de
Tue Aug 21 04:14:45 EDT 2007


Eric,
I found out the reason for my problem. It was simple "textalign = right" If
this property is set, you can't shift anymore the text within the field with
the arrow key
Thanks
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB
> Gesendet: Montag, 20. August 2007 17:27
> An: 'How to use Revolution'
> Betreff: AW: AW: AW: which field property to set for 'scrolling'?
> 
> Oh boy! Jumping behind a ghost, you are so right.
> I copied the field from somewhere and didn't noticed, that it wasn't quite
> standard :(
> Thanks a lot
> Tiemo
> 
> > -----Ursprüngliche Nachricht-----
> > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet
> > Gesendet: Montag, 20. August 2007 16:25
> > An: How to use Revolution
> > Betreff: Re: AW: AW: which field property to set for 'scrolling'?
> >
> > Hi Tiemo,
> >
> > The behavior you want seems to be usual behavior: arrow keys allow
> > navigating in the text and move the text if needed when the text is
> > larger than the field.
> > Create a new stack, create a new usual field and just set its
> > dontWrap to true.
> > Then test the behavior in this new stack: if it works as expected,
> > compare fields properties ;-)
> >
> > Le 20 août 07 à 15:53, Tiemo Hollmann TB a écrit :
> >
> > > Hello Eric,
> > > as far as I understand your handler, it prevents the user to input any
> > > longer text, as the fields width.
> > > I want to allow the user as long strings, as he wants. I just want
> > > to move
> > > the text with my arrow key to the left and to the right to see the
> > > ends of
> > > my text, which are not displayed in the field after input. Right
> > > now, when
> > > moving the cursor with the arrow key it bounces at the edge of the
> > > field
> > > without moving the text. Simple thing, complicated explained...
> > > I think it should just be a simple field property.
> > > Tiemo
> > >
> > >
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> > >> bounces at lists.runrev.com] Im Auftrag von Eric Chatonet
> > >> Gesendet: Montag, 20. August 2007 15:36
> > >> An: How to use Revolution
> > >> Betreff: Re: AW: which field property to set for 'scrolling'?
> > >>
> > >> Hello Tiemo,
> > >>
> > >> I'm very sorry because I modified the code in my email client and of
> > >> course made an error:
> > >> You should read:
> > >>
> > >> on keyDown
> > >>    if the selectedField <> empty then
> > >>      if AllowInput() then --
> > >>        pass keyDown --
> > >>      end if
> > >>    else pass keyDown
> > >> end keyDown
> > >>
> > >> Not that this process will not prevent the user to paste any long
> > >> string ;-)
> > >>
> > >> Le 20 août 07 à 15:27, Tiemo Hollmann TB a écrit :
> > >>
> > >>> Hello Eric,
> > >>> I am quite not sure if I expressed myself correct and what your
> > >>> handler
> > >>> should do. I put the handlers into my card, with no result. But In
> > >>> your
> > >>> if-else condition there is twice "pass keyDown" - should that be?
> > >>>
> > >>> My single line field is a input field for a full path, which
> > >>> naturally can
> > >>> be pretty long - longer as the field is. What I would like to have
> > >>> is, that
> > >>> the text string in my field moves to the right, when I push the
> > >>> arrow key to
> > >>> the left (and vice versa) to see the complete string.
> > >>>
> > >>> Sorry for my cumbersomely explanation :)
> > >>> Tiemo
> >
> >
> >
> > Best regards from Paris,
> > Eric Chatonet.
> > ----------------------------------------------------------------
> > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> > Email: eric.chatonet at sosmartsoftware.com/
> > ----------------------------------------------------------------
> >
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list