` Printed Icetips Article

Icetips Article



Par2: Forcing a drop list to drop
1999-09-23 -- Russ Eggen
 
POST(EVENT:DroppingDown,?DropListControl)

Ed Mann notes:
In legacy I used to select the droplist, then used presskey(DownKey) or
presskey(AltDown) to make it drop.  It seems there should be a cleaner way
to do it, but I never found one.

Martin Hoddinott adds:
Post:event like Russell says, then in the following event

       OF EVENT:DroppingDown
          DO whatever to set it up
          0{PROP:ACTIVE}=1
          SELECT(?DROPCONTROL)
          PRESSKEY(DownKey)

and it will drop open



Printed November 21, 2024, 6:44 am
This article has been viewed/printed 35190 times.