Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally display ComboBox drop-arrow
Message
 
 
To
06/08/2004 12:11:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00931345
Message ID:
00931472
Views:
33
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform