Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditionally display ComboBox drop-arrow
Message
 
 
À
06/08/2004 12:11:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00931345
Message ID:
00931472
Vues:
36
This message has been marked as a message which has helped to the initial question of the thread.
Curt,

Maybe you cabn switch currrent control (using DynamicCurrentControl) to a textbox in case if there's zero or one element?

>In a Grid containing a ComboBox (Style=2-Dropdown List), is there a way to conditionally display the ComboBox's drop arrow? I have a ComboBox being populated dynamically in a grid (in the AfterRowColChange event which is working fine). I would like for the drop-arrow to display in the grid if there are elements in the combo to select, and not display if there are zero or one element in the combo. This would give the user a nice visual cue that either there are selectable options available, or that he has no choice.
>
>I have tried Sparse, but here you either get the drop-arrow showing in all rows or no rows. I think I may be on the right track using SetAll Visible, but I have not been able to solve the problem yet.
>
.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform