openedge - 动态创建复选框
问题描述
我们可以在正在进行的窗口上动态创建一个复选框吗?实际上,我已经动态创建了组合框、框架、填充,但不知道如何动态创建复选框。
解决方案
display "Example" skip(2) with frame a width 80.
define variable h as handle no-undo.
create toggle-box h assign
row = 2
column = 1
label = "hi there"
frame = frame a:handle
sensitive = true
visible = true
.
wait-for window-close of current-window.
推荐阅读
- unix - Unix - 将 GMT 时间字段转换为 PST 时间
- c++ - 为什么当我使用不同版本的 GCC 时使用 strtok 函数会显示此错误?
- amazon-web-services - 使用 boto3 调用 AWS SageMaker 终端节点时出错:“无法将数据解析为 JSON。确保 Content-Type 标头设置为“application/json”
- python - Raspberry Pi 长按按钮与短按控制 LED
- javascript - 尝试在谷歌脚本中运行两个函数和两个不同的电子邮件
- c# - 如何覆盖在帐户管理 mvc 部分的 dotnet 核心中生成的默认“site.css”
- android - 如何在 Android 中暂停 MediaPlayer
- java - Keycloak - 通过 Action Token SPI 完成登录流程的定制
- c# - 带有c#脚本任务的SSIS引用了一个自定义dll,其中命名空间中有一个点
- javascript - 在 IE 11 中获取查询参数