Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting right-click to fire in disabled control
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00950916
Message ID:
00951172
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform