Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabled list box items
Message
From
31/08/1998 23:12:24
 
 
To
31/08/1998 22:33:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00131674
Message ID:
00131770
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform