Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making some choices in a combo unavailable
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01454876
Message ID:
01454886
Vues:
51
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform