在 PowerBuilder 应用程序中单击网格中的行时填充整个窗口菜单路径
我正在使用 PB 10.5.2,我制作了一个应用程序,当我打开一个表单并在 DataWindow 网格中检索一些数据时,通过双击任何行,我想填充特定菜单的整个窗口菜单路径项目...例如,我想通过单击网格中的该行来打开一个菜单项,并扩展整个菜单路径。 有没有办法用代码、PowerScript 或类似的东西来做到这一点?
例如
文件
|
| ->SAVE
|
|
-> SAVE AS
-> SAVE ALL
并且我想打开“另存为”的整个路径==> (文件->保存->另存为)并使其打开并可见。
预先非常感谢!
I am using PB 10.5.2 and I have made an application in which, when I open a form and retrieve some data in a DataWindow grid, by double-clicking any row, I want to populate the whole window menu path of a specific menu item...thus for example I want by clicking that row in the grid to open a menu item with the whole menu path extended.
Is there any way to do that with code, PowerScript or something similar?
e.g
FILE
|
|
->SAVE
|
|
-> SAVE AS
-> SAVE ALL
and I want to open the whole path of "save as" ==> (FILE-> SAVE -> SAVE AS) and make it open and visible.
Thanks very much in advance !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
用户不会期望菜单会像这样打开。如果双击调用另存为操作,只需打开另存为对话框。
A user would not expect a menu to open up like that. If double-clicking invokes a save as operation, just open the save as dialog.