Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find out if item is disabled in a listbox?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00741505
Message ID:
00741571
Views:
23
>>I do not use drag and drop on my mover list boxes, however, this seems to work for disabled items when fired by a button or double click.
>>
>>*** aryAvailableValues = RowSource
>>*** AvailableValue = ControlSource
>>
>>*** Move the hightlighted Available value to the Selected list
>>*** If Item is Disabled, ignore it
>>IF SUBSTR(aryAvailableValues(AvailableValue,1),1,1) <> "\"
>>
>>*** Code to move selected item from one list to the other
>>
>>ENDIF
>>
>What is the RowSource for your mover? Apparently, this works only if the RowSource is array and doesn't work for other RowSources...

RowSource = aryAvailableValues
Dennis Lindeman
Previous
Reply
Map
View

Click here to load this message in the networking platform