Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting Record In Grid Without Using A Mouse
Message
 
 
To
14/06/2000 06:22:27
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00379198
Message ID:
00380227
Views:
19
Bob,

It sounds like you are using the Click() event on each control in the grid? If so that's definately not the way to accomplish the task.

The grid.AfterRowColChange() event can be used to track what row of the table/cursor/view you are currently on. Using this method would allow you to remove all the code from each individual textbox in the grid. And work for both keyboard and mouse access at the same time.

>The grid contains patient data displayed in a cursor. In the text object for each column there is code which extracts a patient ID number for the record highlighted and then calls another form. This is all done obviously by the user clicking the mouse on the cursor record.
>What I need is for her to scroll down/up to the required record displayed in the cursor and then, by using the Enter or any other key, to emulate the mouse click event.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform