‎2009 Dec 30 9:11 AM
When I scoll any table control in my dialog program , the screen will jump to the top of screen automaticllay. I don't know why.
‎2009 Dec 30 10:51 AM
Hi,
Now your Cursor is by default on the First field of the Screen.
so
in PBO
set cursor field 'ITAB-MATNR' line 1. " or TC-TOP_LINE or TC-CURRENT_LINE.
" or in PAI GET CURSOR FIELD 'ITAB-MATNR' line line
" declare a variable in Top include data line type i.Cheerz
Ram
‎2009 Dec 30 10:17 AM
Please check if any of follwoinf variables of TC..
TOP_LINE
CURRENT_LINE
Set to 0 or 1 in PBO of screen
Nag
‎2009 Dec 30 10:51 AM
Hi,
Now your Cursor is by default on the First field of the Screen.
so
in PBO
set cursor field 'ITAB-MATNR' line 1. " or TC-TOP_LINE or TC-CURRENT_LINE.
" or in PAI GET CURSOR FIELD 'ITAB-MATNR' line line
" declare a variable in Top include data line type i.Cheerz
Ram
‎2009 Dec 30 11:23 AM
I will advice you to activate debugger and then scroll .
This will take you to the part of code that is being executed.
Now, check what is missing/going wrong.
There can be chances that some perform is placed at wrong place.
Hope this helps you.
‎2009 Dec 30 1:39 PM
Hi,
in the PBO of the code write below code.
DESCRIBE table IT LINES TC-LINESIT - Internal table used in Table control, TC -tablecontrol name.
This will enable vertical scroll.
you can make use of CXTAB_CONTROL 's (CURRENT_LINE ,TOP_LINE).
hope it will help.