Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colored disabled items in Listbox
Message
From
10/03/2003 04:17:47
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00761279
Message ID:
00763534
Views:
23
Hi George,

>So it only gets set to active once?

Sorry, I don't understand your question. Here's what's happening .....

The When event fires immediately before the control receives focus. If you return .F. from this event, the control will NOT receive focus. This essentially disables the control.

What my example solution does is specify your preference (via the form property ListBoxEnabled) for whether or not the control should receive focus.


Hope this helps.

Liam
Liam O'Hagan
MCP VFP Desktop Apps
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform