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:29:45
 
 
To
03/02/2003 16:21:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00748605
Message ID:
00748608
Views:
17
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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform