Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabled list box items
Message
From
31/08/1998 22:33:47
 
 
To
31/08/1998 17:46:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00131674
Message ID:
00131765
Views:
17
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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform