Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
23/01/1997 20:47:54
 
 
To
23/01/1997 14:35:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Miscellaneous
Thread ID:
00018248
Message ID:
00018287
Views:
38
If you put the equivalent of following code in the Add button it will work
generically. I use it in a Class that has grid called grdItems.
It works both with 3.0 and 5.0:

FOR ln = 1 TO THIS.Parent.grdItems.ColumnCount
IF !THIS.Parent.grdItems.Columns(ln).ReadOnly
THIS.Parent.grdItems.Columns(ln).SetFocus()
EXIT
ENDIF
ENDFOR
Previous
Reply
Map
View

Click here to load this message in the networking platform