Keitaro84
2nd February 2023, 18:31
Hello,

I'm working on the tcibd0501m000 session I need to understand if this is called from a menu item or for example from the zoom of another session (tcibd0501m100).
To do this I use:

string parent.prog(20)
import("prog.name$", parent.prog)

called from the zoom it is correctly valued with "tcibd0501m100" while if I click the menu item "ottstpbdeman" appears.

Can anyone tell me what this corresponds to?

Thank you

JaapJD
3rd February 2023, 14:44
That is an interface program between LN UI and the LN backend. To know whether the session was started from the menu or zoomed to from another session, use the "background" predefined variable. If from the menu it is false, if zoomed to it is true.

Keitaro84
6th February 2023, 10:38
Perfect, thank you very much for the explanation.