Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read only property of the grid
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00389647
Message ID:
00389653
Views:
13
>How can I set readonly property to false for a particular row on a grid which is readonly?

Smitha,

If you want to change ReadOnly status depending on field value (say, if myNumber>100 you want ReadOnly=.f., otherwise .t.) you can put in Grid Init:
this.ColumnMyNumber.Readonly=(myNumber<=100)

And you probably should Refresh your grid in AfterRowColChange (for me it doesn't work without refreshing).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform