Application Development and Automation 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: 
Read only

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

Former Member
0 Likes
7,374

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
Read only

Former Member
0 Likes
6,080

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

22 REPLIES 22
Read only

former_member230215
Participant
Read only

0 Likes
6,080

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

Read only

former_member185537
Participant
0 Likes
6,080

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.

Read only

0 Likes
6,080

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.

Read only

0 Likes
6,080

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

Read only

0 Likes
6,080

Already my variable tc-lines values is  2 only.

Read only

Former Member
0 Likes
6,080

hi Siva,

Save and activate then logoff from system,

Login back and check whether  function is working.

Thanks & Regards,

Nitin Vernekar

Read only

0 Likes
6,080

Hi nitin,

  Appreciate your answer,

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

Read only

0 Likes
6,080

Hi Siva,

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

Thanks & Regards,

Nitin Vernekar

Read only

0 Likes
6,080

Hi nitin,

sorry for the late reply,

please find the attributes screen shot of my table control.

Read only

0 Likes
6,080

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.

Read only

0 Likes
6,080

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.

Read only

former_member185537
Participant
0 Likes
6,080

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.

Read only

0 Likes
6,080

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.

Read only

former_member185537
Participant
0 Likes
6,080

Did you check that the code is written in PBO

Read only

0 Likes
6,080

HI venkat,

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

Read only

former_member185537
Participant
0 Likes
6,080

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.

Read only

0 Likes
6,080

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

Read only

Former Member
0 Likes
6,081

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

Read only

0 Likes
6,080

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

Read only

former_member185537
Participant
0 Likes
6,080

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.

Read only

0 Likes
6,080

Hi venkat,

  Issue solved by assign tc-lines = 0.