Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make some specific rows Readonly in Grid
Message
 
 
To
17/08/2006 06:52:27
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01146280
Message ID:
01146321
Views:
16
>Dear Sir,
>
>I posted this question on www.foxite.com
>Where my dear professor Mr. Borislav Borissov posted following reply, and this work fine for me.
>
>*** AfterRowColChange event of the grid:
>LOCAL lbReadOnly
>lbReadOnly = (add condition here which makes columns ReadOnly)
>this.SetAll([ReadOnly], m.lbReadOnly, [Column])

You don't really need to use SetAll in this case if you want to make all columns readonly. Just set grid's readonly property accordingly.
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