Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know is combobox is open?
Message
From
03/02/2003 16:33:49
 
 
To
03/02/2003 16:29:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00748605
Message ID:
00748612
Views:
13
Very clever, Tracy. Thank you. Alex

>I know sending ctrl-dwnarrow will open it, but I do not know how to determine if it is already opened or not. What I have done in the past to resolve this is to have the listbox have one size for closed and one size for opened:
>
> *--IF the size is 23, open it, else close it to 23
> IF THISFORM.List1.Height = 23 && expand it
>    *OR* KEYBOARD '{ALT+DNARROW}' PLAIN CLEAR
>    THISFORM.List1.Height = 170
> ELSE  && close it
>    THISFORM.List1.Height = 23
> ENDIF
>
>
>>How do I know if the list part of a combobox is open or closed?
>>
>>TIA,
>>
>>Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform