首页 > 解决方案 > 动态创建复选框

问题描述

我们可以在正在进行的窗口上动态创建一个复选框吗?实际上,我已经动态创建了组合框、框架、填充,但不知道如何动态创建复选框。

标签: openedgeprogress-4gl

解决方案


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.

推荐阅读