Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know is combobox is open?
Message
From
03/02/2003 18:01:31
 
 
To
03/02/2003 17:58:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00748605
Message ID:
00748670
Views:
14
Thank you Marcia. Is this in MegaFox? I have it and should read it more.

>Hi Alex.
>
>How do I know if the list part of a combobox is open or closed?
>
>You add a custom property called lDroppedDown to your combo box class and add this code:
>
>Click Method:
>
>This.lDroppedDown = .F.
>
>
>DropDown Method:
>
>This.lDroppedDown = .T.
>
>
>KeyPress Method:
>
>*** If escape or enter pressed, the list is not dropped down anymore
>IF nKeyCode = 27 OR nKeyCode = 13		
>  .lDroppedDown = .F.
>ENDIF
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform