将控件设置为控制工具栏中的按钮 [英] Set control to a button in control the tool bar

查看:51
本文介绍了将控件设置为控制工具栏中的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想快速访问工具栏中的第一个按钮。要按Enter键,按Enter键开始转换。或者你可以假设我想在一个菜单选项上设置一个默认选择。我不能为按键或者keydown evern编程为mdiform。我该怎么办?

提前感谢

farhana

hi everyone,
I want to make a quick access to the first button in the tool bar.To start a transation on press Enter Key from the Enter pad. or you can assume that I want to set a default selection on one menu option.I can''t program fro keypress or keydown evern for the mdiform.What I should do ?
thanks in advance
farhana

推荐答案

嗨专家

我应该假设这是我们不能做的事情???我的合作社雇主希望我这样做。他坚持要通过键盘输入来开始销售横断面。我真的搞砸了。找不到任何关于它的东西。请帮我解决这个问题。

问候

farhana
Hi Experts
Should I assume that this is something that we can''t do??? My co-op employer wants me do that. He insists to start sales transection by pressing Enter from the keyboard. I am really screwed up with this. Can''t find anything about it. Please help me resolve this problem.
regards
farhana


明确你的问题。详细解释你的问题和前端版本。
Be clear with your problem. explain your problem in detail and version of front-end.


我是一名学生开发人员。实际上我已经使用VB6设计了一个PoP应用程序。我创建了一个交互式环境,可以快速访问所有控件和菜单选项。此应用程序将用于一个非常快节奏的系统。人们没有时间使用鼠标在菜单控制选项之间切换,也不能点击工具栏按钮。

我被要求设计一个适用于按键的应用程序。我为公司编写了Enterpad。这个enterpad有许多快捷键,可以快速访问产品,菜单选项和reprts。例如,当用户点击购买按钮时,它会显示购买窗口,当用户按下输入栏中的帐户对帐单按钮时,将打印报


现在问题是,旧的syatem是在Foxpro中开发的,而购买流程是从enterpad的pressEnter Key开始的。但我在Enterpad上编写了一个新密钥,它将启动Purchase模块。但老用户坚持使用Enter键代替Purchase(即菜单中的Ctrl-Q快捷键)。为了操作员的方便我添加了一个工具栏,我保留了几个图片框,其中输入了一些快捷键,以便用户可以记住这些键,如Ctrl-Q开始横切,Ctrl-X退出等。 />

现在我正在研究如何开始在Enter键上购买横切。我可以逻辑思考,如果我将重点放在工具栏中的购买按钮上。或者你可以说我如何将默认焦点设置在菜单中的一个控件上来启动它。


我希望你现在明白我想做什么。虽然小问题但是......我无法做到这一点。

我们可以用Vb6做些什么吗?

问候

farhana
I am a student developer.In fact I have desinged a PoP application using VB6. I created an interactive enviornment for quick access to all controls and menu options. This application will be used in a very fast paced syatem. Where people don''t have time to use mouse to switch between menu control option and can''t click on tool bar buttons too.
I am asked to design an appliation that will work on keystrokes. I have programmed Enterpad for company. this enterpad has many shortcut keys for quick access to products, menu options, and reprts. Such as when user hit Purchase button it displays Purchase Window and when user press Account Statement button from enter pad it will print a report.

Now the problem is , old syatem was developed in Foxpro, and Purchase process started on pressingEnter Key from enterpad. But I programmed a new key on Enterpad that will start Purchase module. But old users insist to use Enter key instead Purchase(that is Ctrl-Q shortcut key in the menu). for operator''s convience I added a toolbar where I kept a few picture boxes with some shortcut keys entered with them so that user can remember these keys such as Ctrl-Q to start a transection, Ctrl-X to Exit etc.

Now I am lookin gfor ways how I can start purchase transection on Enter keys . I can logically think if I set focus on Purchase button in the tool bar. or you can say how I can set default focus on one control in menu to start it.

I hope now you understand what I want to do. Although small issue but .... I am not able to do that.
Is this somethng that we can do using Vb6?
regards
farhana


这篇关于将控件设置为控制工具栏中的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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