Widgets

Widgets are graphical elements located in the form and used for data input and display as well as for the program workflow manipulation.

Button

Buttons can be placed on a form to record user input in the form of clicking on a button. It can contain text or it can be a clickable image. The text and the image are changeable. The button click can be mapped to a key event or an action event, defined on the form.

Widget-specific properties:          Text, OnInvoke

Browser

Browser embeds a fully functional browser into the form. The file browser will attempt to render the source specified in its field value. You can use the browser to view web pages, files, images and folders on your computer. The file browser is also useful to merge 4gl applications with web-based applications

Canvas

Canvas is used to display interactive SVG images.

CheckBox

CheckBox is used to place check boxes on a form.  They are used to select one or more values from a range of options.  They can also be used for True/False or Yes/No values, by checking the box only for a positive response to the static text statement alongside it.

Widget-specific properties:         CheckedValue, UncheckeckedValue

ComboBox

ComboBox will usually display a drop-down-list with a button on the right-hand side to make the list appear. You can manipulate combobox values at runtime by using fgl_list_xxx() functions and ui.ComboBox methods.

Calendar

Calendar can be used to place a calendar function within a form field that needs a date to be entered. The date can be entered into the text field after selecting it from the popup window, else a date can be manually added. The format for the date is taken from the environment variable DBDATE, unless otherwise specified.

Widget-specific properties: century

FunctionField

FunctionField allows introducing fields where the user can click on the button when the field is in an INPUT state. This button can have an icon associated with it. The button should be used to trigger a key or action event, which is defined in the Properties section.

Widget-specific properties: Image, OnInvoke

Label

Label is a form widget typically used to display data that cannot be manually changed by the user on runtime. This can be some text or an image.

Widget-specific properties:         Image, Text, textAlignment, AllowNewLines

ListBox

Listbox is used to display structured list of options the user can choose during the input. The whole list is displayed to the form and cannot be changed at runtime. It is possible to select one or several options at once.

List box option is a separate but dependent widget that has its own properties but cannot exist outside the list box.

Widget-specific properties:         EnableMultiSelection

ProgressBar

ProgressBar is used to display a numeric value within the specified range. It is typically used to display graphically the level of progression of some process or some level of fulfilment.

RadioGroup

RadioGroup contains one or more options in a selected or deselected state and allows users to choose only one option from the predefined set of mutually exclusive options.

ScrollBar Plugin for Fake Tables

The ScrollBar Plugin is a scrolling tool for forms that have a lot of TextFields listed one under one, forming a table (usually after the conversion of a PER form into .fm2 form file).

Slider

Slider is an graphical widget that allows to input or display a numeric value by changing the position of a slider on a scale.

Spinner

Spinner is a graphical widget that allows entering numeric values both manually or using the spinner arrow buttons.

TextField

TextField is used for user input. It can be mapped to represent a field in a database, can be set to be a no-entry field, the type for the field and many attributes such as the field color, font and can be set, amongst many other features and settings.

TextArea

As with TextField, TextArea is used to input and display text data of different formats. The value inputted to the text field can include any printable characters. The only feature that distinguishes Text Area from Text Field is that Text Area allows the data string to be split into several lines.

TimeEditField

TimeEditField is displayed like a spinner field with three numeric buttons separated with a colon symbol.

The spinner is used to change the hours, minutes and seconds values, depending on the part of the time value in which the cursor is currently set.

WebComponent

WebComponent is a form widget that can serve as a seat for external objects, or front-end plug-in mechanisms.

The WebComponent properties are used to specify the object to be used and to set it up. The settings allow to establish communication between the application and the web-component..

Widget-specific properties:         ComponentType, ComponentProperties

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.