Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set readonly in a Grid
Message
From
22/05/2007 13:12:56
 
 
To
22/05/2007 12:56:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01227687
Message ID:
01227692
Views:
19
>Hi everyone
>
>I´m populating a grid with a table , and will need to edit some records depending the condition of one field (or column), but some other records need to set read-only properties, My question is: how to do it dynamically and “at once”. Using setall…? It is possible?
>Thanks in advance..
>
>Carlos Burgos

There are two ways. You may just check conditional field value in Column.Textbox.When event and return .F. if editing is not allowed. Or you can add 2 textboxes to the column, one of them with Enabled=.f., and use DynamicCurrentControl property.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform