Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with setting focus to grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Problem with setting focus to grid
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01321606
Message ID:
01321606
Views:
55
Hi

I have a button with the following code

SELECT misc
APPEND blank
thisform.grid1.column1.readonly=.F.
thisform.grid1.COLUMN1.SetFocus
THISFORM.GRID1.REFRESH

it works fine until I delete the grid entry I have just added then when I click on the button again I have a grey line in the column and i have to physically click into the column to start typing

What am I doing wrong?

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Reply
Map
View

Click here to load this message in the networking platform