Message
 
General information
Fórum:
Visual FoxPro
Category:
Programação, sintaxe e comandos
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
ID da thread:
01454876
ID da mensagem:
01454886
Views:
53
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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Responder
Mapa
View