Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabled item in listbox
Message
 
To
04/01/1999 03:33:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172140
Message ID:
00172336
Views:
20
Hi José,

>If you put a backslash ("\") in one columm, you don't need put it in others.

Yes. But there are problems if you directly manipulate the listbox items via the List[] property. Assigning an element without backslash enables the entire row, even if there's one element in it that contains a backslash.

>How can I know if an item is disabled? The only way I think, is testing the first character of the original array.

You can check the List[] or ListItem[] array, eg:
  IF LEFT(This.List[This.ListIndex,1],1) == "\"
     * current item is disabled...
  ENDIF
Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform