table control refresh 功能

REFRESH CONTROL  

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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7714329/viewspace-767613/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值