Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabled list box items
Message
De
31/08/1998 23:12:24
 
 
À
31/08/1998 22:33:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00131674
Message ID:
00131770
Vues:
21
>Hi Craig ---
>
>Multiselect = .F.? Weird.....I have been unable to duplicate this behavior in either VFP5 or VFP6 unless Multiselect is on. Lemme try with an array as the controlsource (I was using "x,y,z" method on my testing.
>
>
>>>
>>>Forget my last post. OK, apparently when you have Multiselect set true you can grab disabled items as part of a group. This is bad. Looks like you'll have to either skip the multiselect -or- programatically handle it.
>>>
>>>
>>>>>>I have some disabled items in a list box, but I can still select them. I know they are disabled because I set the disabledItemBackColor property. I thought that VPF would handle this automatically. Do I need to code for this, or is something else wrong?
>>>>>
>>>>>Is it visually selecting them only or does Listbox.Selected(i) get set TRUE?
>>>>
>>>>Visually, it looks disabled, but I can move the highlight to it and actually select it....so both.
>>
>>MultiSelect is .F.


I tried it with the base listbox class and got the same results. I guess I'll rethink the design.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform