Hide a Subpage Using PeopleCode

 There was a question asked on the forum on how to hid a subpage. There is no Peoplecode function to hide a subpage directly, BUT one way around that is putting the subpage in a group box and hid the group box instead. Hiding the group box will end up hiding your sub page

Make sure to follow the following post, it will walk you through how to hide a group box on a page.

To hide a group box and all the fields placed in it on a PeopleSoft page use the code below in a page “Activate” event.
HR_LBL_WRK. STATUS_LBL. Visible   =   False ;


Where HR_LBL_WRK is the record name, and STATUS_LBL is the field record. Double click on the Group Box to see its record properties (1st tab).
For the Group box and all the fields in it to be completely hidden, make sure the “Hide Border” and “Adjust Layout for Hidden Fields” on the Label tab are checked and the “Hide all Fields when Group Box Hidden” on the Use tab is also checked.

转载于:https://www.cnblogs.com/bryanchen/p/3385849.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值