fgl_getlastwidgetid()

fgl_getlastwidgetid() returns the identifier of the last triggered widget.

Syntax

CALL fgl_getlastwidgetid()

Usage and examples

The function will be especially useful for applications with complex, many-level static menus and multiple actions because it provides a simple, customer-friendly tool for optimizing the application performance and developing a better structured 4gl code.

Moreover, it can be used with any Lycia widget or event:

CALL fgl_getlastwidgetid()

or

LET id_var = fgl_getlastwidgetid()

After triggering the widget,

we get the result depending on its id:

Screenshots above come from the example program, fgl_lastaction-fgl_getlastwidgetid.

 

In the example program, basic steps for using  fgl_getlastwidgetid() include:

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.