Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting right-click to fire in disabled control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00950916
Message ID:
00951172
Vues:
15
>This is not a situation where the whole column is set read-only. It is on a row-by-row basis, depending on a condition. In the past, I've used a condition in the When method. This is fine, but in conjunction with a right-click menu, it disables the right-click. Out of habit, I put some code in the When method:
>
>
>this.readonly = <expr>
>return .t.
>
>
>That wasn't working and neither was the DynamicCurrentControl (there seem to be some issues with getting that working correctly). Don't know why I didn't think of AfterRowColChange. Like I said, it was getting late after a long day. Thanks.
>
>Russell

Yes, AfterRowColChance would work just fine in your case. It worked for me in similar circumstances.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform