Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid scroll bars in table control(Module pool) ?

Former Member
0 Kudos
1,986

I tried by unchecking the vertical and horizontal resizing in table control properties , but it didn't work.

Is It possible to avoid scroll bars in table control ?

We can avoid horizontal scroll bar by defining the no.of columns, but how to avoid vertical scroll bar ?

Please find the attachment for reference which is highlighted vertical scroll bar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
692

Make tc-lines value as 0. Then vertical scroll bar will not appear in TC.

22 REPLIES 22

former_member230215
Participant

0 Kudos
692

I already did that, still didn't able to remove vertical scroll bar.

former_member185537
Participant
0 Kudos
692

Hi Siva,

The only way is to uncheck the property. Save and activate the screen instead of directly activating it. Any inconsistency in screen will not appear after that. And also do the same with the program.

0 Kudos
692

Thank you Venkat for your reply,

I followed your steps and the output is same, vertical scroll bar still coming.

Is any other way we can do this.

0 Kudos
692

siva. set the variable tc-lines to 5 or 6 and try

0 Kudos
692

Already my variable tc-lines values is  2 only.

former_member200434
Participant
0 Kudos
692

hi Siva,

Save and activate then logoff from system,

Login back and check whether  function is working.

Thanks & Regards,

Nitin Vernekar

0 Kudos
692

Hi nitin,

  Appreciate your answer,

I did the steps you mentioned but it didn't worked, still vertical scroll bar is displaying.

0 Kudos
692

Hi Siva,

Can you send screen shot of attributes of the screen number where you created the table control.

Thanks & Regards,

Nitin Vernekar

0 Kudos
692

Hi nitin,

sorry for the late reply,

please find the attributes screen shot of my table control.

0 Kudos
692

There is option while creating a table control using wizard

if you don't mark it then we will not be able to scroll the table vertically.

0 Kudos
692

Hi nitin,

I created table control without selecting that scroll option only, still I got scroll bar.

Issue solved by making the tc-lines = 0 in PBO.

former_member185537
Participant
0 Kudos
692

Are you sure there will be less number of items to be displayed. It will never go to the next page. If the scroll area is too small set it to 1 and check.

0 Kudos
692

Hi venkat,

Thanks for your support,

    I am sure that I have only 5 items maximum, even I increased the scroll bar area which it can accommodate 10 items, but still the scroll bar is displaying.

former_member185537
Participant
0 Kudos
692

Did you check that the code is written in PBO

0 Kudos
692

HI venkat,

What we need to check in PBO code. please find the PBO code below.

former_member185537
Participant
0 Kudos
692

Check the module Z365_WM* which is above the loop. Write the code.

"        TC-LINES = 2.   "  WHERE THE TC IS THE TABLE CONTROL. CORRESPONDINGLY USE THE TABLE CONTROL VARIABLE.

0 Kudos
692

I have set the TC-lines = 2, still it didn't worked. the vertical scroll bar is appearing.

Former Member
0 Kudos
693

Make tc-lines value as 0. Then vertical scroll bar will not appear in TC.

0 Kudos
692

Thank you singaravel, issue solved by assigning the tc-lines = 0.

former_member185537
Participant
0 Kudos
692

Nitin is right. that's the point if you have selected .  I asked if youre sure it does nt go to next page. but you should implement that logic in the first window by unchecking it. But this resizing is will not appear if you had not ticked it earlier. So If you had changed this later to uncheck, you need to save and activate again. then it should not be a problem.

0 Kudos
692

Hi venkat,

  Issue solved by assign tc-lines = 0.