Widget Properties

Here is a short description of all the essential properties of widgets

Section Labels and Descriptions of respective sections
General Properties
OptionsDescriptionApplies to:
File The name of the table which contains the field for which the widget is defined is displayed in this field. Database widgets
Widget-name This field displays the name of the field in the table to which the widget is associated with, or could be any name if the widget is a local variable (not associated with the database table). All widgets
Data-type Specify the type of data (such as integer, decimel, logical etc.) widget holds. All widgets
Widgettypes HTML5 Client supports different widget types. This field displays the different widget types that can be selected. Refer the section Types of Widgets for detailed description. All widgets
Hide Selecting the checkbox would keep this widget hidden in the maintenance program. All widgets
Format We can specify the format of the field data. For example, format ‘X(32)’ holds string data upto 32 characters. Fill-in, Text
Local var Check this for the variables not associated with the database table Local/Non-database widgets
Related field Specify the name of the other widget used on your program related to this current widget. For example, you can specify the ‘StateName’ as related field for ‘State’ field on Customer program. Database widgets
Item initial Field value options are specified here as name,value pair(for list-items-pair) or just value (for single-items) in comma separated form. For example, Item initial value of ‘OptionA,A,OptionB,B’ for radio-set displays OptionA and OptionB on program and their values are A and B respectively. Combo-box, Radio-set, Selection-list
Initial The value provided as initial is filled on the widget automatically while creating new record Fill-in, Editor, Radio-set, Selection-list
Attributes HTML5 Client supports different widget attributes provided by progress. These attributes could be listed for a widget separated by a pipe. For example if you want your radio-set to be aligned horizontally then you can set HORIZONTAL|TRUE. More attributes are mentioned in section Attributes of the widgets All widgets
Enabled New Widget is enabled in New mode if this checkbox is selected. All widgets
Enabled Update Widget is enabled in Update mode if this checkbox is selected. All widgets
Widget Validation Properties
LabelDescriptionApplies to:
Dyna Val. Dynamic validation. Database widget
Validate Runs the LEAVE event-handler. Text-field
Skip validation on commit Skips the validation for fields while committing Database widget
All Values For enabling all screen values. If update is clicked, labels are displayed to be updated. All widgets
Must exist The data specified on the field must exist on the corresponding table Database widget
Must not exist The field data must differ from the existing data of the table Database widget
Mandatory Value must be provided Fill-in, Radio-set, Selection-list, Combo-box, Editor
Force validate Forces the validation before commit Fill-in, Radio-set, Selection-list, Combo-box, Editor
Empty allowed Allows blank or no value Fill-in, Radio-set, Selection-list, Combo-box, Editor
Force Assign Forces to assign value for the field Fill-in, Radio-set, Selection-list, Combo-box, Editor
Widget Label Properties
LabelDescriptionApplies to:
Label Enable/disable the widget label. All widgets
Def.label Takes default label from the database Database widgets
Left align label Aligns label to left All widgets
Right align label Aligns label to right All widgets
Label attributes Attributes for the widget label like height,weight etc can be provided All widgets
Widget Field/Lookup Properties
LabelDescriptionApplies to:
Search Enables search for lookup if checked Fill-in
Def Lookup Lookup will be displayed based on default lookup query for that field. Fill-in
Multi Lookup Allows multiple records to be selected on lookup. Fill-in
Search File* Give name of the file/table where this field belongs to. Fill-in
Search field Field name from table to be selected from lookup. Fill-in
Query Query to find foreign record. Fill-in
Lookup Field name from table to be selected from lookup. Fill-in
Default Search field Default search field. Fill-in
Widget Field Security Properties
LabelDescriptionApplies to:
Frontend Select on which frontend the event needs to be run. If ‘*’ then the event runs on all the frontend.
OptionsDescription
Z to be displayed on a web browser/ mobile
X to be displayed on a desktop
* to be displayed on both the above platforms
!* to be hidden on both the above platforms
All widgets
Update security Allows only the selected user/groups to update this field. Values can be *( all), !*( none), userid or usergroup.
Create security Allows only the selected user/groups to edit this field while creating new record
Display security Widgets can be made visible only to selected users/groups displayed in this field.
Advanced Widget Properties
LabelDescriptionApplies to:
Query* Query to be used for lookup enabled fields. Text-field
Function Function is used in combination with the values of List-item value and List-item-pairs. It is only applicable to combo-box. e.g. List-item value: xstac List-item pairs xstac,xstam Function: f-xstadisp(“xbline”,”xbline.xstac”) Combo-box
Xaml element* This feature is not used in HTML5 anymore All widgets
Type init Single-item:both name and value will be same; Item-pairs: for distinct name and values Radio-set, Combo-box, Selection-list
List-item value Specify the value of list-items Radio-set, Combo-box, Selection-list
List-item-pairs Specify name and value pairs for the field Radio-set, Combo-box, Selection-list
Properties Widget properties such as class name can be specified here All widget
Nr. of Browse rows This is applicable only for a browse widget to make no. of rows to be displayed in browse Browse
Reason Ask reason code (must be together with login is true) Button
Upload Make button of upload type, provides file upload feature Button
Start maint. prg Flag to check if user can start maintainence program from this field or not All widget
Save in batch Save the field when program is run in batch All widget
Default value Check if there is a default value for that widget All widget
Translation Translate the widget name based on user’s language All widget
Style* Style of the widget All widget
Methods A string with the selected methods and values All widget
Widget Css It can be used to write direct css properties to your widget using javra ide All widget
Widget Position Properties
LabelDescriptionApplies to:
Row Stores the latitude coordinates of the widget on the screen editor All widgets
Column Stores the longitude coordinates of the widget on the screen editor
Width pix Displays the width in pixels.
Height pix Displays the height in pixels.
Tab Used for tab sequencing i.e if you have multiple widgets in a form then you can specify the order which widget to traverse pressing a tab button
Widget Reserved Properties
LabelDescriptionApplies to:
Comment Any comments the user wants to write about the particular menu can be written here All widgets
Time changed Saves the time stamp on which the record was last modified
Changed by Saves the userid of the user who made the last modification
Send Selecting this option requires the user to enter the From and To dates within the Date send from to Date send to fields.All the selected files which were changed or modified during this entered period range will be dumped.
Send to It’s an audit field where the DB location is entered. For ex: SVN

results matching ""

    No results matching ""