“托比亚斯,我有点惊讶你的注册表写作花了这么长时间 - 可能值得研究一下,因为那里可能有些不妥。但在回答你的问题时,答案是'不',据我所知
:你可以设置一个标志(如果先按下另一个按钮,则忽略'exit'命令),隐藏面板(见第二个问题),或者你可以用其他东西覆盖按钮(例如一个虚拟按钮,
灰色!)。至于“合并”面板,答案是“是”。简而言之,为UserObject创建一个面板;右键单击其图标并选择“恢复”,然后将子面板添加到主面板。
完成后,可以将UserObject面板视图更改回详细视图中的图标。如果您想查看有关此方面主题的迷你教程,请访问http://www.preciselyso.co.uk
- > VEE资源中心选项卡 - >选择右侧的工具和提示 - >查找“教程:静态,弹出和状态面板”“我找到了reg的原因
istry写作花了这么长时间(可能值得补充一点,我从一开始就没有编写这段代码),这部分的作者由于未知的原因在写作中增加了延迟。
感谢您的帮助和帮助
教程链接,我会稍微阅读一下。
“假设您有VEE 8.0或更高版本,当单击”保存并退出“时,您很容易将”退出“OK按钮变灰(并在以后再次重新启用它)。为”退出“声明一个名称(如ExitButton)
“属性中的OK按钮。然后在单击”保存并退出“时使用公式:ExitButton.EnableOnPing = FALSE。8.0中引入的可编程属性确实有助于创建良好的GUI。”谢谢,这就是诀窍。
我对这些可编程属性没有任何了解,有时间阅读它们,因为它们看起来非常方便。
以上来自于谷歌翻译
以下为原文
"
Tobias,
I'm slightly amazed that your registry writing takes so long - it may be worth examining that as there is probably something amiss there.
In answer to your question though, the answer is 'no' as far as I'm aware: you can set a flag ( so that the 'exit' command is ignored if the other button was pressed first ), hide the panel ( see your second question ) or you can cover the button with something else ( e.g. a dummy button which is greyed out! ).
As to 'merging' panels the answer is 'yes'. Briefly, create a panel for the UserObject; right-click on its icon and select 'restore' then add the sub-panel to the main panel. You can change the UserObject panel view back to an icon in the detail view once you have done that. If you want to look at my mini-tutorial on the subject which covers this aspect go to http://www.preciselyso.co.uk -> VEE Resource Centre tab -> choose Tools and Tips on the right -> look for "Tutorial: Static, Pop-up and Status Panels"
"
I found the reason why the registry writing takes so long (might be worth adding I've not written this code from the start) and the author of this part has for unknown reason added a delay in the writing. Thanks for the help & tutorial link, I'll read through it in a bit.
"
Assuming you have VEE 8.0 or later you easily gray-out the "Exit" OK-button when "Save&Exit" is clicked (and re-enable it again later).
Just declare a name (like ExitButton) for the "Exit" OK-button in Properties. Then use a Formula with: ExitButton.EnableOnPing=FALSE when "Save&Exit" is clicked.
The programmable properties introduced in 8.0 really helps creating good GUIs.
"
Thanks, that did the trick. I had no knownledge about these programmable properties, time to read up on them as they seem pretty handy.
“托比亚斯,我有点惊讶你的注册表写作花了这么长时间 - 可能值得研究一下,因为那里可能有些不妥。但在回答你的问题时,答案是'不',据我所知
:你可以设置一个标志(如果先按下另一个按钮,则忽略'exit'命令),隐藏面板(见第二个问题),或者你可以用其他东西覆盖按钮(例如一个虚拟按钮,
灰色!)。至于“合并”面板,答案是“是”。简而言之,为UserObject创建一个面板;右键单击其图标并选择“恢复”,然后将子面板添加到主面板。
完成后,可以将UserObject面板视图更改回详细视图中的图标。如果您想查看有关此方面主题的迷你教程,请访问http://www.preciselyso.co.uk
- > VEE资源中心选项卡 - >选择右侧的工具和提示 - >查找“教程:静态,弹出和状态面板”“我找到了reg的原因
istry写作花了这么长时间(可能值得补充一点,我从一开始就没有编写这段代码),这部分的作者由于未知的原因在写作中增加了延迟。
感谢您的帮助和帮助
教程链接,我会稍微阅读一下。
“假设您有VEE 8.0或更高版本,当单击”保存并退出“时,您很容易将”退出“OK按钮变灰(并在以后再次重新启用它)。为”退出“声明一个名称(如ExitButton)
“属性中的OK按钮。然后在单击”保存并退出“时使用公式:ExitButton.EnableOnPing = FALSE。8.0中引入的可编程属性确实有助于创建良好的GUI。”谢谢,这就是诀窍。
我对这些可编程属性没有任何了解,有时间阅读它们,因为它们看起来非常方便。
以上来自于谷歌翻译
以下为原文
"
Tobias,
I'm slightly amazed that your registry writing takes so long - it may be worth examining that as there is probably something amiss there.
In answer to your question though, the answer is 'no' as far as I'm aware: you can set a flag ( so that the 'exit' command is ignored if the other button was pressed first ), hide the panel ( see your second question ) or you can cover the button with something else ( e.g. a dummy button which is greyed out! ).
As to 'merging' panels the answer is 'yes'. Briefly, create a panel for the UserObject; right-click on its icon and select 'restore' then add the sub-panel to the main panel. You can change the UserObject panel view back to an icon in the detail view once you have done that. If you want to look at my mini-tutorial on the subject which covers this aspect go to http://www.preciselyso.co.uk -> VEE Resource Centre tab -> choose Tools and Tips on the right -> look for "Tutorial: Static, Pop-up and Status Panels"
"
I found the reason why the registry writing takes so long (might be worth adding I've not written this code from the start) and the author of this part has for unknown reason added a delay in the writing. Thanks for the help & tutorial link, I'll read through it in a bit.
"
Assuming you have VEE 8.0 or later you easily gray-out the "Exit" OK-button when "Save&Exit" is clicked (and re-enable it again later).
Just declare a name (like ExitButton) for the "Exit" OK-button in Properties. Then use a Formula with: ExitButton.EnableOnPing=FALSE when "Save&Exit" is clicked.
The programmable properties introduced in 8.0 really helps creating good GUIs.
"
Thanks, that did the trick. I had no knownledge about these programmable properties, time to read up on them as they seem pretty handy.
举报