Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable a row in a grid
Message
From
03/01/2014 13:11:53
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How to disable a row in a grid
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01591295
Message ID:
01591295
Views:
226
Dear all,
I have a grid in my form and i want to disable some rows based on a field content.
I write this:
thisform.grid1.SetAll('ReadOnly',IIF(CanEdit=1, .F., .T.),'Column')
But this not work properly.
I do this with :
thisform.grid1.SetAll('Enabled',IIF(CanEdit=1, .F., .T.),'Column')
But this destroyed my grid.
Next
Reply
Map
View

Click here to load this message in the networking platform