>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