Skip to Content
0
Former Member
Mar 03, 2009 at 05:42 PM

Table Control - Do not want verticle scroll bar

91 Views

I have a table control in a subscreen that I want to limit to a maximum of 4 rows of data. The table control is currently displaying 4 rows on the screen, so the appearance of the table control is the way I want it, with the exception of the verticle scroll bar. I would like to eliminate it.

While I can control the number of entries the customer makes in the control table by returning an error message if they enter more than four, I would prefer to not allow them to enter more than four rows in the first place. The verticle scroll bar seems to be a permanent fixture to the table control, and appears no matter how many rows of the table control have data in them.

For example, even if the "DESCRIBE TABLE internal_table LINES table_control-lines" statement in the PBO has a value of zero, I still have the verticle scroll bar.

In another forum entry I noticed the suggestion to use the "SET PF-STATUS 'STAT'" statement. However, the parent screen already has SET PF-STATUS statements that cannot be changed without messing up some of the other subscreens, so that doesn't appear to be an option.

Any other suggestions? Thank you.