msflexgrid中用于密钥预览的vb6代码为true [英] vb6 code for Key preview true in msflexgrid

查看:205
本文介绍了msflexgrid中用于密钥预览的vb6代码为true的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

专家们


是否有任何代码可用来捕获击键并在msflexgrid中选择包含列表等数据的项目.

即,如果当我按"A"时我的网格中有Apple,Army,Bottle,Cat Etc等数据,则应在"Apple"中选择从"A"开始的项目.在此之前,我仅使用列表中的列表非常简单,只需
key Preview property = true没关系.但是当使用网格时,我不知道这是怎么回事.

致以问候
Rajesh

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

推荐答案

在flexgrid上,您可以使用按键sub.
显然,您将不得不编写代码,但是您可以捕获按键并根据需要操作表(排序,过滤任何内容)
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)


这篇关于msflexgrid中用于密钥预览的vb6代码为true的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆