‎2007 Jan 11 10:55 AM
I have problem with set cursor line on subscreen. After user command, cursor is back to main screen. I have in pai of subscreen command set cursor. Plz, help.
thanks
‎2007 Jan 11 11:42 AM
hi,
use the set cusor satement in the PBO of the sub screen.
then it works ..
regards,
sateesh.
‎2007 Jan 11 1:02 PM
I have set cursor in pbo of sub screen. but it don't work. Maybe, problem in table control which i use on sub screen?
‎2007 Jan 11 2:07 PM
Hi,
hey you need to use the statement in the PBO as
SET CURSOR FIELD fiedname LINE lineindex.
lineindex is the line number you want to set the cursor if you are using a table control
The cursor is positioned on the screen element whose name is contained in upper case in field. The data object field must be character-type and flat. The screen layout or a table control is scrolled in the display so that the screen element on which the cursor is positioned is visible. If the specified screen element is not found, the statement is ignored.
If the specified screen element is part of a table control or a step loop, the line of the table control or group of the step loop in which the cursor is positioned on the specified screen element must be specified using the addition LINE. For the data object line, the type i is expected. If there is no line or group for the value of line, or the addition LINE is not specified, the statement is ignored. The statement is also ignored if the addition LINE is specified and the screen element is not part of a table control or step loop.
regards,
sateesh
‎2007 Jan 11 3:04 PM