![]() ULTIMATE Page Control Suite™ |
|
Ultimate Page Control Suite™ Win32 | Delphi™ | C++Builder™ |
|
D.03. TADVANCE_FocusControlInterface |
|
TComponent TADVANCE_FocusControlInterface TADVANCE_FocusControlInterface_T TADVANCE_FocusControlInterface_TLR TADVANCE_FocusControlInterface_TLR_Embedded TADVANCE_FocusControlInterface_TLR_Main TADVANCE_FocusControlInterface_T_Main TADVANCE_FocusControlInterface_T_Main_Composite
Left: Main TADVANCE_PM04_DataMasterUPA FocusControl™ (top), and FocusControl™s of embedded page modules left-aligned. AuxTools™ are integral with the FocusControl™, which can be left, top or right aligned, or hidden. Example AuxTools™ are seen at top right of the main FocusControl™ and to the right of the FocusButtons of the bottom Paged Related Controls and Paged Toolbar regions. |
TADVANCE_FocusControlInterface (FocusControl) in the Object Inspector. |
|
A TADVANCE_FocusControlInterface belongs to each TADVANCE_PMInterface, and configures the FocusControl™ and integral AuxTools™ collection. Paths to FocusControl members take the form, |
|
PROPERTIES |
|
property AuxTools : TADVANCE_AuxTools_Collection read FAuxTools write FAuxTools;
Developer-defined, managed collection of auxiliary tools, allowing developers to readily extend module functionality. Administered by the AuxTools™ property editor at design time. AuxTools™ are drawn to the right of the FocusButton when the FocusControl™ is aligned left or top, or to the left of the FocusButton when the FocusControl is aligned right. |
|
GLOBAL AuxTools™ PROPERTIES |
|
PROPERTIES CONTINUED... |
|
property FC_Align : TADVANCE_FC_Align read FFC_Align write SetFC_Align;
TADVANCE_FC_Align = (FC_AlignTop, FC_AlignLeft, FC_AlignRight);
FocusControl.Align. Composite embedded modules are aligned top or bottom. If the module itself is aligned top, bottom or none, then Page.Height is automatically maintained when FC_Align is toggled between top and side values. |
|
DELPHI EXAMPLE C++ EXAMPLE |
|
property FocusButton_Caption_Visible : Boolean read FFocusButton_Caption_Visible write SetFocusButton_Caption_Visible;
FocusButton.Caption.Visible. If True and FC_Align = FC_AlignLeft or FC_AlignRight, then FocusButton.Width is configured to FocusButton_Width_LeftOrRightAligned. If False and FC_Align = FC_AlignLeft or FC_AlignRight, then FocusButton.Width is configured to FocusButton_Width_LRAlignedCaptionNotVisible. |
|
DELPHI EXAMPLE C++ EXAMPLE |
|
property FocusButton_CharSpacing : TADVANCE_CharSpacing read FFocusButton_CharSpacing write SetFocusButton_CharSpacing;
TADVANCE_CharSpacing = (csNormal, cs2X, cs3X, cs4X, cs5X);
Applies character spacing to the FocusButton™ Caption. For effect, or to make smaller fonts more legible.
property FocusButton_Height_TopAligned : Integer read FFocusButton_Height_TopAligned write SetFocusButton_Height_TopAligned;
FocusButton.Height when FC_Align = FC_AlignTop. When aligned to either side, Height = Module.ClientHeight.
property FocusButton_Hint_NoSizing : String read FFocusButton_Hint_NoSizing write SetFocusButton_Hint_NoSizing;
Prescribes the FocusButton™ hint when the Sizing Window is not deployed (when no SizingEvents are assigned to the PMInterface).
property FocusButton_Hint_Sizing : String read FFocusButton_Hint_Sizing write SetFocusButton_Hint_Sizing;
Prescribes the FocusButton™ hint when the Sizing Window is deployed (when SizingEvents are assigned to the PMInterface).
property FocusButton_PrefixString : String read FFocusButton_PrefixString write SetFocusButton_PrefixString;
Prescribes a FocusButton™ caption prefix such as, "FOCUS : ". The navigation captions of each page are appended to FocusButton_PrefixString.
property FocusButton_Width_LeftOrRightAligned : Integer read FFocusButton_Width_LeftOrRightAligned write SetFocusButton_Width_LeftOrRightAligned;
Prescribes FocusButton.Width when FC_Align = FC_AlignLeft or FC_AlignRight and FocusButton_Caption_Visible = True. The original value is 250.
property FocusButton_Width_LRAlignedCaptionNotVisible : Integer read FFocusButton_Width_LRAlignedCaptionNotVisible write SetFocusButton_Width_LRAlignedCaptionNotVisible;
Prescribes FocusButton.Width when FC_Align = FC_AlignLeft or FC_AlignRight and FocusButton_Caption_Visible = False. The original value (and proper value to center the glyph) is 44.
property Font : TFont read FFont write FFont;
FocusButton.Caption.Font. The value is also applied to embedded modules, except the Style and Size subproperties.
property EmbeddedModules_FontSizeDifferential : Integer read FEmbeddedModules_FontSizeDifferential write SetEmbeddedModules_FontSizeDifferential default 0;
EmbeddedModule.FocusButton.Caption.Font.Size = FocusButton.Caption.Font.Size + EmbeddedModules_FontSizeDifferential.
property EmbeddedModules_Font_Style : TFontStyles read FEmbeddedModules_Font_Style write SetEmbeddedModules_Font_Style;
Prescribes the EmbeddedModule.FocusButton.Caption.Font.Style (which is applied to the further/embedded modules of composite UPC™ page controls).
property PageNavCaptions_Number : Boolean read FPageNavCaptions_Number write SetPageNavCaptions_Number default False;
Applies or rescinds automated page caption numbering. |
|
DELPHI EXAMPLE C++ EXAMPLE |
|
property PM : TADVANCE_PM read PtrPM;
Read-only pointer to the underlying, visual page module (root layer).
property PMInterface : TADVANCE_PMInterface read PtrPMInterface;
Read-only pointer to the PMInterface of the internalized page module.
property Visible : Boolean read FVisible write SetVisible;
FocusControl.Visible. |
|
|