Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable a item in a listbox
Message
From
25/08/1999 11:47:19
 
 
To
25/08/1999 11:35:40
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00257446
Message ID:
00257454
Views:
17
>Hello
>
>Someone knows how i do to disable a item in a listbox?
>
>I can do it if the RecordSourceType property is 0 (None), but if the RecordSourceType is 6 (Fields) i don´t get do it.
>
>thanks

I do not think there is a native way to disable items in a list with RecordSourceType = "Fields". You will probably need to find another way, either load the items in the list with RecordSourceType = "None" or create a cursor of the items to base the list on then DELETE/RECALL items as necessary along with a REQUERY and REFRESH to make them unavailable/available.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform