Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know is combobox is open?
Message
De
03/02/2003 18:01:31
 
 
À
03/02/2003 17:58:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00748605
Message ID:
00748670
Vues:
15
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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform