Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colored disabled items in Listbox
Message
De
05/03/2003 11:06:27
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:
00761531
Vues:
18
Hi George,

Example :

Create a Form Property called ListBoxEnabled with a value of .T.
The listbox and command button should have the following code

ListBox.When
Return Thisform.ListBoxEnabled
CmdDisableListBox.Click
Thisform.ListBoxEnabled = .F.
That should do it for you.

Regards,

Liam




>except that doesnt work.
>have a code sample?
>
>When i click a command button, i want to diable the Listbox
>and leave the selected items highlighted.
>
>when only fires when control comes alive.
>In this case control is losing focus, when doesnt fire....
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