[英]Progress 4gl. Creating a Combo Box inside a Browse
How do I create a static combo box inside a browse ? 如何在浏览器内创建一个静态组合框?
example output that i would like to display: 我想显示的示例输出:
column 1
combo-box1
column 2
column3
combo-box2
column 1
combo-box1
column 2
column3
combo-box2
side note: would also like to know how to add a dynamic combo box. 旁注:还想知道如何添加动态组合框。
You can define the cell as a combo-box in the DEFINE BROWSE statement. 您可以在DEFINE BROWSE语句中将单元格定义为组合框。
DEFINE BROWSE brComboBox
QUERY qTT DISPLAY
fieldA
fieldB
fieldC VIEW-AS COMBO-BOX LIST-ITEMS "a,b,c,d"
fieldD
ENABLE fieldC
WITH NO-ROW-MARKERS SEPARATORS SIZE 70 BY 4.5 FONT 10 FIT-LAST-COLUMN.
If you're working with the AppBuilder GUI you simply edit the DISPLAY portion of the browse so it contains all fields: 如果您使用的是AppBuilder GUI,则只需编辑浏览器的DISPLAY部分,使其包含所有字段:
fieldA
fieldB
fieldC VIEW-AS COMBO-BOX LIST-ITEMS "a,b,c,d"
fieldD
ENABLE fieldC
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.