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

Problem setting cursor in table control.

Former Member
0 Likes
444

Hello experts,

I am using a find button for table items in my program. When user enters a value, the cursor goes to that row. It's working fine as far as that row is visible in table. If it lies below, the table isnt scrolled down. When I checked the syntax for SET CURSOR, it says the tab cntrl is scrolled dwn if that row isnt on the screen.

Please help,

Regards,

Sumit Nene

3 REPLIES 3
Read only

Former Member
0 Likes
416

use parameter,

TC-TOP_LINE To set your desire line on top inplace of set cusror

Regards,

Alpesh

Read only

0 Likes
416

@alpesh,

I tried it, replacing the set cursor statement with -

tab_cntl-top_line = rec_index. " this is the variable i've stored my row number in.

in PBO.

But nothing's happening.

Regards,

Sumit Nene.

Edited by: Sumit Nene on Jul 6, 2009 1:07 PM

Read only

Former Member
0 Likes
416

Hi,

Sumit Nene

Loop At itab with tc...... Endloop

Will run only for the Visible rows in the TC.

So , Let run another loop for itab.

this will for all the rows in itab. Find the row To get the found row in PBO use SELColumn .

Hope you get some IDEA.

Pramoth CG