|
Options |
Name |
Purpose |
|
|
|
AdjustGroupBoxRelativePositions ()
|
After building the ttFrameWidget records, adjust the AtRow / AtColumn
of widgets parented to a group box to be relative to the user control.
Group boxes are mapped to ABL rectangles, which are not containers in
ABL - so contained widgets need absolute coordinates.
|
|
|
|
ApplyControlMapping (buffer)
|
Applies the AlternativeControlType / AlternativeControlName for
special controls (SmartBusinessEntityLookup, SmartComboEditor)
|
|
|
|
ApplyResxValue (character, character, character)
|
Applies a single .resx key/value pair to the matching ttControl record
|
|
|
|
AssignControlLabels ()
|
Associates side label controls with their target controls by
populating the target's LabelText field
|
|
|
|
BuildFrameWidgets ()
|
Builds the ttFrameWidget records from the collected ttControl records
|
|
|
|
CaptureBindingSourceEntity ()
|
Captures the EntityName / EntityTable / EntityView of the
SmartBusinessEntityBindingSource of the parsed user control
|
|
|
|
CarrySpecialControlProperties (character, buffer, buffer)
|
Copies the JsonObject properties of the ttControl to the matching
ttFrameWidget record as ExtraProperties, tagging the special
control type
|
|
|
|
CollectClassLevelVariables (INode)
|
Walks the class block and collects the class-level
DEFINE VARIABLE statements into the ttControl temp-table
|
|
|
|
CollectControls (character)
|
Drives the ProparseApi based parsing of the file
|
|
|
|
CreateFrameWidget (buffer, integer, character, character)
|
Creates a ttFrameWidget record from a ttControl record
|
|
|
|
DetermineClassName (character)
|
Determines the class name of the user control from the file name
|
|
|
|
CHARACTER GetFirstControlArgument (INode)
|
Returns the control name of the first THIS-OBJECT:control
argument of a Controls:Add call
|
|
|
|
Consultingwerk.Framework.Collections.CharacterList GetFrameNames (character)
|
Parses the given file and returns a CharacterList with the
single short class name as the only entry, when the file
represents a GUI for .NET UserControl
|
|
|
|
GetFrameWidgets (character, character, table)
|
Parses the given file and returns the resulting widgets
in the ttFrameWidget temp-table
|
|
|
|
HandleControlInstantiation (character, INode)
|
Handles the "THIS-OBJECT:control = NEW Type(...)" assignment
|
|
|
|
HandleControlPropertyAssignment (character, character, INode)
|
Handles "THIS-OBJECT:control:Property = value" assignments
|
|
|
|
HandleDataBindingArguments (character, INode)
|
Handles arguments of a DataBindings:Add () call. The data binding
carries field/binding source information that ties the control
back to a column in the Business Entity binding source.
|
|
|
|
LOGICAL IsSideLabel (integer)
|
Returns TRUE when a label control is the side label of another
control (i.e. the control with the next tab index is not itself
a label)
|
|
|
|
CHARACTER MapViewAs (character, logical)
|
Returns the VIEW-AS for a given .NET type
|
|
|
|
CHARACTER MapWidgetType (character, logical)
|
Returns the WidgetType for a given .NET type. Matches the
values produced by the ABL FrameParser
|
|
|
|
ParseInitializeComponent (INode)
|
Processes the body of the InitializeComponent method
|
|
|
|
ProcessEqualNode (INode)
|
Processes an EQUAL node. Handles two cases:
1) THIS-OBJECT:controlName = NEW Type(...)
2) THIS-OBJECT:controlName:Property = value
|
|
|
|
ProcessMethodCallWidgetRef (INode)
|
Processes a Widget_ref node that represents a method call, for
the patterns THIS-OBJECT:Controls:Add (...),
THIS-OBJECT:groupbox:Controls:Add (...) and
THIS-OBJECT:control:DataBindings:Add (...)
|
|
|
|
CHARACTER ResolveFieldName (buffer)
|
Resolves the field name used in ttFrameWidget for the given ttControl
|