Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable individual column or text box in grid??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01042608
Message ID:
01042609
Views:
22
try to set the Enabled property of the COLUMN itself to .f.

Other way is to put the code in When event of the TextBox that will returns .f. under some conditions.




>When i changed the enabled property on a grid control, I can not access any of the columns or textboxes on the grid. However if the grid is enabled and I changed the enabled status of say the textbox of a column, I can access the textbox but not change it - the textbox has the focus and you can see the blue line around the box.
>
>How can I get the textbox or column in a grid, so that it behaves the same as when the whole grids enabled status is false. When I click on it I dont want it to get the focus?
>
>Thanks in advance
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform