fgl_form_open()

Lycia provides the useful functionality of dynamic form functions. These are functions that replicate the functionality of form statements.

In order to have dynamic forms, Querix4GL has a dynamic function equivalent for every form statement. When declaring form definitions, namely OPEN, DISPLAY and CLOSE, it is necessary to specify the argument, such as the form name. With dynamic form functions these names can be a variable.

Dynamic form functions provide the same functionality as form definitions, except that they can use variables instead of specific names.

To open a form in 4GL you have this code:

OPEN FORM form1 FROM "filename"

which would have, as an equivalent:

LET form_name = "form1"

CALL fgl_form_open(form_name, "filename")

When you specify a form name, be careful with its case.

UNIX is case-sensitive, so it will treat forms which names come in different cases as separate files.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.