Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid.. problem with setting focus on a column
Message
From
25/03/2000 23:15:47
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid.. problem with setting focus on a column
Miscellaneous
Thread ID:
00350479
Message ID:
00350479
Views:
40
I have a 3 column grid, all text boxes. The first column is a descriptive that will not be changed
by the user. The second and third column will. I have set the .WHEN method on the first column
to RETURN .F. to prevent access. The drawback, is you can still click in the column and hit
highlights. It was recommended that I put a SETFOCUS call to the second column in the
GOTFOCUS method of the first column (or the CLICK method). I put...
thisform.grdTally.Column2.SetFocus.

The first time I click in column , the cursor and highlight immediately jumps to column 2. BUT the
second time I click in column 1, the cursor stays in column 1, WHY?

Thanks
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Next
Reply
Map
View

Click here to load this message in the networking platform