ITPub博客

首页 > Linux操作系统 > Linux操作系统 > table control refresh 功能

table control refresh 功能

原创 Linux操作系统 作者:yangjulei 时间:2013-08-01 10:57:07 0 删除 编辑

REFRESH CONTROL  Syntax Diagram

Syntax

REFRESH CONTROL contrl FROM SCREEN dynnr.

Effect

This statement initializes the attributes of a table control by assigning values to certain components of the corresponding structure contrl. For contrl, a structure must be specified that was created using the statement CONTROLS for a table control. The values are taken from the definition of the table control with the same name. Their screen is specified in dynnr. The values of the components are set. These are the components for which the start values are taken from the definition of a table control (see description of the structure CXTAB_CONTROL in CONTROLS). For dynnr, a data object of the type n of length 4 is expected. It must contain the number of a screen on which a table control name contrl is defined.


前面的关键字就不用说了,是为了刷新和初始化control。

我们来了解一下后面的关键字  FROM SCREEN dynnr. 

如果我们在100和200中同时定义了同一个tablecontrol CTRL.

那么如果在100中使用上述语句且后面指定为200screen,其效果就是

用200中的这个CTRL属性来初始化100的CTRL.

如100固定列3列,200固定列4列,执行上面说的情况后,100的CTRL固定列也是

4列。

结束。。。。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7714329/viewspace-767613/,如需转载,请注明出处,否则将追究法律责任。

上一篇: CL_GUI_TEXTEDIT初探
下一篇: table control 功能
请登录后发表评论 登录
全部评论

注册时间:2010-03-08

  • 博文量
    71
  • 访问量
    197905