在Power Builder 12.5中的键事件中从条形码扫描仪检索值 [英] Retrieve the value from the barcode scanner in the key event in power builder 12.5

查看:95
本文介绍了在Power Builder 12.5中的键事件中从条形码扫描仪检索值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从Power Builder的条形码扫描仪解释值。从Key事件中看到的
,Key的值似乎是 KeyEscape!。因此它关闭了窗口。
是否有任何语法可以在按键事件中从条形码扫描器获取值?

I cannot interpret the value from the Barcode Scanner from Power Builder. I am seeing from Key event, the value of Key seems to be "KeyEscape!" and hence it closes the window. Is there any syntax which gets the value from the Barcode Scanner in the keyevent ?

但是当我使用记事本时,它会显示一些值,例如 b000012300该空间代表KeyEscape!
有没有一种方法可以解释Power Builder中的此值?
请帮助我。

But when i use notepad, it is showing some value like "b000012300 " and the space represents KeyEscape! Is there a way to interpret this value in power builder ? Please help me.

推荐答案

取消属性 CommandButton PictureButton OLECustomControl 使其被激活 Esc 键。

The cancel property for a CommandButton, PictureButton or OLECustomControl makes it being activated by the Esc key.

可能您的窗口上有一个按钮可以关闭,并且具有取消属性设置为 true

It is likely that you have a button on your window to close it that have the cancel property set to true.

这篇关于在Power Builder 12.5中的键事件中从条形码扫描仪检索值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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