Question How to Hide Static Browser Column?

reynold12

New Member
Hello All -

Could anyone please suggest how can I hide the columns of Static Browser?
Is there any setting or Flag which I can set for those columns which I want in the Browser but want to Hide it?

I am using OpenEdge 10.2B

Urgent reply is appriciated...

Thanks,
 

trx

Member
GUI:
Code:
br1:first-column:visible = false.

CUI won't allow you to hide column. So probably the best option is just shorten column and change its screen value.
To change screen value you need to store handle to column you want to hide and use it in on ROW-DISPLAY event.
Code:
ON ROW-DISPLAY ANYWHERE
DO:
        vwh:SCREEN-VALUE = ?.
END.
somewhere before realizing browse:
Code:
br1:first-column:width = 1.
br1:first-column:label = ?.
vwh = br1:first-column.
that way you get empty column of width 2 characters (1 char column + 1 char space between columns) .
 
Top