Drop Box Data Class |
|
When creating or editing a data class for a Drop Box control type, Data Class Definitions maintenance displays the following:
|
|
|
The following tabbed panels are available: Display, Attributes, User Aids, Validation and Query.
Class Name |
Key to the data classes file (providex.dcl). When entering a new data class name, spaces are not allowed. Maximum length is 30 characters. Click the Query button (binoculars) for a list of defined data classes (if any). Click the Browse buttons to browse to existing data classes. Click the Copy Class button to copy an existing data class to a new data class. If unsaved changes are detected when selecting these buttons, a message will display to save the changes. (First/Last Class browse buttons were added in PxPlus 2019.) | ||||||||||||||||||||||||||||||||||
(Add/Edit Notes) |
(Available when a new or existing data Class Name is entered or selected) Button used to add (or edit) notes for a new or existing data class. Maximum 1024 characters. The button's appearance and tooltip change to indicate that a note was added for the data class. (The Add/Edit Notes button was added in PxPlus 2022.) | ||||||||||||||||||||||||||||||||||
(Copy Class) |
(Available when an existing data Class Name is selected) Button used to create a new data class by copying the settings from an existing data class. Once it is created, the new data class must be saved, as the Copy process does not do this. (The Copy Class button was added in PxPlus 2019.) | ||||||||||||||||||||||||||||||||||
Last Class Change |
This information is updated automatically whenever a change is made to the data class definition. (Last Class Change was added in PxPlus 2023.) | ||||||||||||||||||||||||||||||||||
Control Type |
Default control type used to represent the data that belongs to your defined data class. Click the drop-down arrow for a list of selections: Multi Line, Drop Box, List Box, Radio Buttons, Check Box. (Default is Multi Line.) The control type lets the NOMADS Panel Designer and File Maintenance Generator know which type of control to use for representing the data element. | ||||||||||||||||||||||||||||||||||
Description |
Generic description of the data class (Fixed value, Expression or Message Library Reference). This will be copied to the data dictionary when the data class is applied to an element. See Element Description. | ||||||||||||||||||||||||||||||||||
*Dynamic |
For new data classes created in PxPlus 2018, this check box is selected by default. For data classes created prior to PxPlus 2018, this check box is not selected by default. Select this check box to set dynamic control properties to Dynamic automatically when the data class is entered for a control in the Panel Designer. If Dynamic is not selected, dynamic control properties must be set to Dynamic manually after entering the data class for a control. See Dynamic Control Properties. (The Dynamic check box was added in PxPlus 2018.) | ||||||||||||||||||||||||||||||||||
Internal Data Type |
Internal format of the data when manipulated by a program, either String or Numeric. (Default is String.) | ||||||||||||||||||||||||||||||||||
Internal Size |
Maximum size of the stored data element. If the Internal Data Type is for a String variable, the Internal Size value will define the maximum string length. For a Numeric variable, enter nnn.dd where nnn is the maximum number of digits (including the decimal) and dd is the number of digits after the decimal point (i.e. the PRECISION of the number). If the selected Control Type is Radio Buttons or Check Box, the Internal Size is 1. | ||||||||||||||||||||||||||||||||||
Display ( * indicates a Dynamic property) | |||||||||||||||||||||||||||||||||||
Properties |
(Display Format was added in PxPlus 2021.) | ||||||||||||||||||||||||||||||||||
*List Values |
List of values that NOMADS uses to preload the drop box. Can be a Fixed value or a string Expression. A data table/file can also be used.
| ||||||||||||||||||||||||||||||||||
*Visual Class |
Assign visual class to the control. See Visual Class Assignment. Note:
| ||||||||||||||||||||||||||||||||||
*iNomads Class |
The iNomads class contains class attribute references used when defining the control in the HTML code generated in iNomads. An iNomads class reference must start with an alpha character (A-Z or a-z), followed by any combination of A-Z, a-z, 0-9, underscore or dash. Multiple references may be entered, separated by a space. For a list of pre-defined iNomads classes, see iNomads Classes. (added in PxPlus 2018) | ||||||||||||||||||||||||||||||||||
Attributes ( * indicates a Dynamic property) | |||||||||||||||||||||||||||||||||||
Attributes |
| ||||||||||||||||||||||||||||||||||
Drop Box Attributes |
| ||||||||||||||||||||||||||||||||||
Other |
| ||||||||||||||||||||||||||||||||||
User Aids ( * indicates a Dynamic property) | |||||||||||||||||||||||||||||||||||
*Help Reference |
| ||||||||||||||||||||||||||||||||||
*Floating Tip |
Mouse pointer message for the control (Fixed value, string Expression or Message Library Reference). You can customize the floating tip by adding a tip title, descriptive tip text and a hyperlink. These features enhance the visual display and functionality of the tip by providing users with much needed information at their fingertips. You can define either a Standard tip or an HTML tip that provides a simplified HTML Editor for customizing the tip text. To do this, click the button to the right of the Floating Tip multi-line input to invoke the Define Info Tip dialogue. See Defining an Info Tip. Note: | ||||||||||||||||||||||||||||||||||
*Message Bar |
Text to be displayed in the panel's status bar when focus is on the control (Fixed value, string Expression or Message Library Reference). | ||||||||||||||||||||||||||||||||||
Validation ( * indicates a Dynamic property) | |||||||||||||||||||||||||||||||||||
*Default Setting |
Initial value to be highlighted when the drop box is drawn (Fixed value or string Expression). | ||||||||||||||||||||||||||||||||||
*Translation |
Click the Translate check box to set up a table of values representing drop box selections. Definition consists of a Table Value Length (length of each of the items in the table) and the translation value (Fixed or string Expression). If the Dynamic check box is selected and the Load From File option is defined, the translation value will be set to Expression, the Table Value Length will be set to 0, and both will be locked. (The setting of translation values for dynamic Drop Box data classes with Load From File functionality was added in PxPlus 2021.) | ||||||||||||||||||||||||||||||||||
Query ( * indicates a Dynamic property) | |||||||||||||||||||||||||||||||||||
*Query Type |
Type of query to associate to the control: Panel, Query Program, Non-Query Logic. Valid formats include a NOMADS query object or query list, a custom query panel, or user-supplied query program. Depending on the Query Type selected, different information is entered. For an explanation of each type and the information to enter, see Query Type. | ||||||||||||||||||||||||||||||||||
(Applicable when Query Type is Panel) For an explanation of the information to enter, see Query Type: Panel. The Define button uses the Panel name to either create a new or edit an existing query definition. (The Define button was added to Data Class Definitions maintenance in PxPlus 2023 Update 1.) | |||||||||||||||||||||||||||||||||||
*Query Program |
(Applicable when Query Type is Query Program) For an explanation of the information to enter, see Query Type: Query Program. | ||||||||||||||||||||||||||||||||||
*Non-Query Logic |
(Applicable when Query Type is Non-Query Logic) For an explanation of the information to enter, see Query Type: Non-Query Logic. | ||||||||||||||||||||||||||||||||||
*Query Button Options |
(Applicable when Query Type is Panel, Query Program or Non-Query Logic) Options that can be set to refine the appearance of the query button when a multi-line is substituted for a drop box when generating a File Maintenance panel. See Note 2 above. For an explanation of these options, see Query Button Options. (Query button options were added in PxPlus 2021.) | ||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||
Popup Menu |
Button that is used to assign a popup menu to a data class (Fixed value or Expression, to be evaluated at run time when the popup signal occurs). A check mark displayed on the button indicates that a popup menu is currently assigned to the data class. This button invokes the
Assign Popup Menu window for assigning Prior Popup logic, a pre-defined popup object or user-defined program. If selected, Prior Popup logic will be executed before the popup menu is displayed. If On Select logic exists for the control with the popup menu, this will be triggered before the popup event. | ||||||||||||||||||||||||||||||||||
Write |
Adds a new data class definition or updates an existing definition. | ||||||||||||||||||||||||||||||||||
Delete |
(Available when an existing data class is selected) Removes the selected data class definition. Before proceeding, a message asks to confirm the deletion, as deleting a data class in use may cause issues. | ||||||||||||||||||||||||||||||||||
Clear |
Clears the current data class definition to allow you to define a new data class or select an existing definition. | ||||||||||||||||||||||||||||||||||
Exit |
Closes Data Class Definitions maintenance without saving any changes. |
(The User Aids tab was added in PxPlus 2018.)