Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colored disabled items in Listbox
Message
De
10/03/2003 04:17:47
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00761279
Message ID:
00763534
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform