fgl_dialog_setcurrline()

The fgl_dialog_setcurrline() function displays a specified row of the program array at a specified line of the screen array.

The fgl_dialog_setcurrline function takes two comma-separated arguments (screen_line, prog_line), where screen_line is the screen line number in the array, and prog_line is the row number in the program array.

Note: Should you move to a different row using fgl_dialog_setcurrline(), the control blocks like BEFORE ROW / AFTER ROW will be triggered.

The code sample below creates a display using two ON KEY options.  When you press the F4 key, the 4th row of the program record is displayed.

After executing the program, an array appears with three columns and a scroll bar.

If you press F4, the screen array is displayed with the fourth row being the current line in the display.

 

 

 

Contact Us

Privacy Policy

Copyright © 2026 Querix, (UK) Ltd.