[futurebasic] Re: [FB] EDIT FIELD with SCROLL BUTTON

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2009 : Group Archive : Group : All Groups

From: Michele Neri <nerimic@...>
Date: Tue, 24 Feb 2009 15:04:15 +0100
Alain Wrobel ha scritto:
> Hello the list,
>
> In a window I use an EDIT FIELD linked with a SCROLL BUTTON :
>
>
> edit field _champTest, #gContainerResultat, @r(0), _Statframed, _leftJust
> r.left(0)= r.right(0)
> r.right(0)= r.left(0) + 16
> r.top(0)--
> r.bottom(0)++
> scroll button -_champTest,0,0,0,0, @r(0),_scrollOther
>
> Is it possible, staying in the same window, to close the  edit field 
> AND the scroll button ?
>
> Alain.
>
>
>
> -- 
> ________________________________________________________________________
> A. Wrobel * GREGUM-UMR ESO, Université du Maine/CNRS *Tel:02-43-83-35-44
> ________________________________________________________________________
>
please try this:

edit field close -_champTest

and then:

button close _champTest


A note for the Reference Manual's mantainers the following sentence in 
BUTTON STATEMENT needs a check for OSX:

If BUTTON CLOSE uses a negative btnID, the area previously occupied by 
the control is not erased or invalidated. No update event will occur as 
a result of close a button with a negative btnID.

Michele.