Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making some choices in a combo unavailable
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01454876
Message ID:
01454887
Views:
38
Ok, that makes sense. I'll give a go.

>I guess one of the ideas would be to re-populate (and requery) the combo in Grid's AfterRowColChange event.
>
>>Hi Naomi
>>
>>Yes, but I want the combo to react to whichever record I'm currently on in the grid
>>
>>e.g. lets say credlim N 6 2
>>
>>If credlim is less than 1000 then we don't want the "free delivery" status to be enabled.
>>
>>Hope this makes sense
>>
>>
>>>>Say I have a table, and one of the fields is status c(20).
>>>>
>>>>In my grid I give a drop down combo box to allow the user to select the current status.
>>>>
>>>>But on some of the records I need to grey out some of the selections based on whats in other fields in the record.
>>>>
>>>>Is this possible in VFP?
>>>>
>>>>TAI
>>>
>>>Yes, add \ in front of the item to make it disabled.
Rob
Previous
Reply
Map
View

Click here to load this message in the networking platform