Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent leaving combo without selecting
Message
From
30/04/2017 08:16:07
 
 
To
29/04/2017 16:40:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01650685
Message ID:
01650696
Views:
55
>I know how to prevent leaving a text field using the Valid event and return .f., but it doesn't work with a ComboBox... Is there anything that does?
>

Set the Style property to 2-dropdown list and set Value to the default value. Then, there's always a selected item, whether the user makes any changes or not.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform