fgl_list_restore()

fgl_list_restore() is used to clear the item list for a  combo box control and create/restore a new list based on the items specified in combo box widget item definition.

This function takes a single argument, field_name of CHAR. If the function is applied successfully the return value will be the size of the new list expressed as an INTEGER datatype. If the function is not executed successfully, a ‘0’ is returned.

Here you can learn more about working with ComboBox in Lycia Form Designer.

In .per forms, combo box items default values are defined as part of the INCLUDE attributes:

DATABASE formonly

SCREEN

{

Combo Box Demo

[f_combo ]

}

ATTRIBUTES

f_combo=formonly.f_combo,

               widget="combo",

               include=("Monday",

                            "Tuesday",

                            "Wednesday",

                            "Thursday",

                            "Friday",

                            "Saturday",

                            "Sunday");

INSTRUCTIONS

DELIMITERS "[]"

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.