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:
00951115
Views:
18
>This may be a problem with my use of the DynamicCurrentControl property. I put a "edit" textbox in the column and a "noedit" textbox (ReadOnly is True for that Textbox) and DynamicCurrentControl determines which one to use (with the column's Sparse property set to False). However, it's always editable. I Googled DynamicCurrentControl and found that a lot of people are having problems getting it to behave properly. Also, ReadOnly is normally controlled at the column level and setting it at the control level may not work as expected. So I'm still experimenting with the syntax to get DynamicCurrentControl to set the right control. Any suggestions?

Russel,

The read-only condition is usually handled in grid's AfterRowColChange event depending on condition. If only column's read-only flag should be set, you don't need to use DynamicCurrentControl.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform