Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column readonly after programmatic add of class obj
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00257484
Message ID:
00257734
Views:
18


Is the data source read only?

Dave

>Our company has a grid class that, like others, allows you to build the column definitions dynamically at run-time depending on the results of a table/view being selected. This grid works great throughout the current system.
>
>In the section that adds a custom textbox control to each column, I made a change to load a DIFFERENT textbox control that will have different behaviors at a later time. Presently no code or special settings, just a simple subclassed textbox control.
>
>The grid gets generated fine, and the form comes up showing details. However, for this textbox control (in each column), the READONLY property is set to .T. If I suspend the program and change the property value to .F. from the debug window, resume the program and get focus back into the grid, the AfterRowColChange() method is invoked and forces the value back to .T.
>
>This is really driving me nuts... Anyone had this problem before? Anything I should be looking into?
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform