Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi experts


Is there any code available to catch the keystrokes & select the Items in a msflexgrid which contains a data like a list.

ie, if my grid have data Apple, Army, Bottle,Cat Etc when I press "A" the items start from "A" should be select here "Apple" . Before this I used only list in list it is very simple, just
key preview property= true it will be ok.But when using grid I don't what is the way.

With Regards
Rajesh
Posted
Comments
Aydin Homay 4-May-13 6:01am    
You want press 'A' in msflexgrid or in your Form ?
Rajesh Kainikkara 4-May-13 8:07am    
Hi
Thanks for the response.I want type in msflexgrid.
Regards
Rajesh

1 solution

On the flexgrid you can use the keypress sub.
You'll obviously have to write the code but you can capture the keystroke and manipulate the table as needed (sort, filter whatever)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900