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

Disable Scrollbar in TableControl

Former Member
0 Likes
1,093

Hello everbody,

please can anybody help me - outherwise i'm going to become desperate 😛

i have a table control (vertival resizing on). There is space to show about 20 lines. My table contains only 5 lines.

In PBO i set the tc_conrol-lines = 5.

My problem is now, that the vertical scroll is shown, although it has no function.

Can you please tell me, how to disable / hide / inactive the scrollbar?

Thanks very much!!

Sabrina

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,042

Hi

Uncheck the Vertical resizing in Table Control Attribute in Screen Painter.

If you are using DESCRIBE TABLE statement in PBO , just comment it.

Hope this would serve your purpose.

Cheers

Ram

6 REPLIES 6
Read only

Former Member
0 Likes
1,043

Hi

Uncheck the Vertical resizing in Table Control Attribute in Screen Painter.

If you are using DESCRIBE TABLE statement in PBO , just comment it.

Hope this would serve your purpose.

Cheers

Ram

Read only

Former Member
0 Likes
1,042

Hi Ram,

thanx for answering my questions.

Your hints do regrettably not help.

Vertical resize has to be check for my purpose.

Commenting the tc_control-lines statement doesn't disable the vertical scrolling bar.

I'm on ERP 6.0, could that be the reason?

Greetz,

Sabrina

Read only

0 Likes
1,042

Hi,

In your program just check any where that you have used TC-lines.

I just check in my program and found OK and more over i also in ECC6.0

Check in the entire program and comment them. instead use temp variable

describe table itab lines tc-lines

describe table itab line --> replace it like this

Cheers

Ram

Read only

Former Member
0 Likes
1,042

Sorry, doesn't work.

The TC-Strucuture is filled with the correct line-count at the time, when the loop at itab into tc_control starts.

maybe you can post your conding and entries in screen-painter?

Thanx a lot,

sabrina

Read only

0 Likes
1,042

Ok, i solved my problem by using a steploop instead of a table control.

its not the best solution, but that worked.

Read only

Former Member
0 Likes
1,042

To Use steploop was finally my workaround.