Hide a Group Box on a Page Using PeopleCode

Your rating: None Average: 3.9 (11 votes)

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.

Please try to help out with unanswered topics on the forum. Chances are you have had the same issue/question some time in your IT career!

Comments

Have a question? Please ask it on the forum instead.
Ruifeng.Wang's picture
User offline. Last seen 5 years 38 weeks ago. Offline
Joined: 03/22/2009
Posts: 2
Re: Hide a Group Box on a Page Using PeopleCode

Thanks!

maripaka's picture
User offline. Last seen 3 years 16 weeks ago. Offline
Joined: 12/08/2008
Posts: 3
Re: Hide a Group Box on a Page Using PeopleCode

Thanks.

Actually it worked. Also the nesting grid/scroll should havethe 'Adjust layout for Hidden fields' checked for the page to fill the empty space when the groupbox is hidden.

Regards,
Mutyala Rao

Guest's picture
Guest
Re: Hide a Group Box on a Page Using PeopleCode

the it doesnot work

Post new comment

CAPTCHA
The question below is to prevent automated spam submissions.
11 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.