Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Security in combobox items.
Message
From
22/12/2003 18:14:17
 
 
To
22/12/2003 13:28:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00861357
Message ID:
00861449
Views:
27
>The current (Mere Mortals) security system gives each control a unique ID in a security table, and leaves the control unchanged, sets it read-only or removes it as necessary.
>
>I'd like to replicate this behavior down to individual entries within a combobox. The RowSourceType is 2-Alias, how can I disable or remove the entries without altering the underlying cursor?
>
>Chris.

hello Chris

how about this:
if DisAbleIt = .t.
   MyCombo.listitem(ItemToBeControlled) = "\" + .listitem(ItemToBeControlled2)
else
   MyCombo.listitem(ItemToBeControlled) = StrTran(.listitem(ItemToBeControlled), "\", "")
endif
Previous
Reply
Map
View

Click here to load this message in the networking platform