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

Click here to load this message in the networking platform