Top Method Summary
Options Name Purpose
AddLogical (JsonObject, character, integer) Adds a logical attribute to the descriptor from the selected index of one of the logical combo boxes
AddValue (JsonObject, character, character) Adds a character attribute to the descriptor when the value is not empty
btnOK_Click (Object, EventArgs) Event handler for the Click event of the btnOK
EditDescriptor (character, character, JsonObject, logical) Visualizes the dialog for editing the Table Descriptor of the given temp-table and blocks the UI
INTEGER GetLogicalIndex (JsonObject, character) Returns the combo box index of a logical attribute of the canonical descriptor
CHARACTER GetValue (JsonObject, character) Returns the character value of an attribute of the canonical descriptor
InitializeComponent () Initializes the Visual Design
PopulateLogicalCombo (UltraComboEditor) Populates one of the logical combo boxes with the entries "(not set)", true and false

Top Constructor Summary
Options Name Purpose
TableDescriptorDialog () Constructor for the TableDescriptorDialog class


Method Detail
Top

AddLogical (JsonObject, character, integer)

Purpose: Adds a logical attribute to the descriptor from the selected
index of one of the logical combo boxes
Notes: Index 0 stands for "not set", 1 for true and 2 for false

Parameters:
poDescriptor Progress.Json.ObjectModel.JsonObject
The JsonObject with the descriptor
pcAttribute CHARACTER
The name of the attribute
piSelectedIndex INTEGER
The selected index of the combo box
Top

AddValue (JsonObject, character, character)

Purpose: Adds a character attribute to the descriptor when the value is
not empty
Notes:

Parameters:
poDescriptor Progress.Json.ObjectModel.JsonObject
The JsonObject with the descriptor
pcAttribute CHARACTER
The name of the attribute
pcValue CHARACTER
The value of the attribute
Top

btnOK_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the btnOK
Notes: Builds the descriptor from the input fields and validates it
against the fields of the temp-table. The dialog stays open
when the descriptor is not valid

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

EditDescriptor (character, character, JsonObject, logical)

Purpose: Visualizes the dialog for editing the Table Descriptor of the
given temp-table and blocks the UI
Notes: On OK the poDescriptor parameter is replaced with the edited
descriptor in its canonical form, on Cancel the value remains
unchanged

Parameters:
pcTableName CHARACTER
The name of the temp-table
pcFieldNames CHARACTER
The comma-delimited list of the field names of the temp-table
poDescriptor Progress.Json.ObjectModel.JsonObject
INPUT-OUTPUT The JsonObject with the Table Descriptor
plOk LOGICAL
OUTPUT Logical value indicating if the user has pressed OK or Cancel
Top

INTEGER GetLogicalIndex (JsonObject, character)

Purpose: Returns the combo box index of a logical attribute of the
canonical descriptor
Notes: Returns 0 ("not set") when the attribute is not set, 1 for
true and 2 for false

Parameters:
poDescriptor Progress.Json.ObjectModel.JsonObject
The canonical descriptor
pcAttribute CHARACTER
The name of the attribute
Returns INTEGER
The index to select in the combo box
Top

CHARACTER GetValue (JsonObject, character)

Purpose: Returns the character value of an attribute of the canonical
descriptor
Notes: Returns an empty string when the attribute is not set

Parameters:
poDescriptor Progress.Json.ObjectModel.JsonObject
The canonical descriptor
pcAttribute CHARACTER
The name of the attribute
Returns CHARACTER
The value of the attribute or an empty string
Top

InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PopulateLogicalCombo (UltraComboEditor)

Purpose: Populates one of the logical combo boxes with the entries
"(not set)", true and false
Notes:

Parameters:
poCombo Infragistics.Win.UltraWinEditors.UltraComboEditor
The UltraComboEditor to populate


Constructor Detail
Top

TableDescriptorDialog ()

Purpose: Constructor for the TableDescriptorDialog class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       14.09.2026 00:53:30