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 with subscreen

Former Member
0 Likes
513

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

4 REPLIES 4
Read only

Former Member
0 Likes
479

hi,

use the set cusor satement in the PBO of the sub screen.

then it works ..

regards,

sateesh.

Read only

0 Likes
479

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?

Read only

0 Likes
479

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

Read only

0 Likes
479

thanks sateesh

slobodan