![]() ULTIMATE Page Control Suite™ |
|
Ultimate Page Control Suite™ Win32 | Delphi™ | C++Builder™ |
|
D.07. TADVANCE_Page |
|
TWinControl TADVANCE_Page TADVANCE_Page_MainComposite TADVANCE_Page_MainDataMaster TADVANCE_Page_PagedTools TADVANCE_Page_RelatedAndStatus |
|
End user page classes derive from TADVANCE_Page, and belong to the right-most column of the TADVANCE_Page class tree. Suffix expressions indicate the PMInterfaces which deploy each TADVANCE_Page descendant. |
|
EVENTS |
TADVANCE_Page_MainDataMaster events. |
|
property OnContextPopup;
property OnDefocus : TNotifyEvent read FOnDefocus write FOnDefocus;
Called when focus is released. Also see OnFocus, below.
property OnDragDrop;
property OnDragOver;
property OnEndDrag;
property OnEnter;
property OnExit;
property OnFocus : TNotifyEvent read FOnFocus write FOnFocus;
Called when the page is focused. Also see OnDefocus, above.
property OnMouseDown;
property OnMouseMove;
property OnMouseUp;
property OnResize;
property OnStartDrag;
|
|
PROPERTIES |
TADVANCE_Page_MainDataMaster properties. |
|
property BiDiMode;
property Color;
If ParentColor = True, pages inherit the color prescribed by the ColorScheme.
property DockSite;
property DragCursor;
property DragKind;
property DragMode;
property Enabled;
property Font;
property Hint;
property MasterToolbar_ButtonsEnabled : TADVANCE_MasterToolbar_Set read FMasterToolbar_ButtonsEnabled write SetMasterToolbar_ButtonsEnabled default [MT_ConfirmREFRESH..MT_RECONNECT];
TADVANCE_MasterToolbar_EnumeratedType = (MT_ConfirmREFRESH, MT_FINDSQL, MT_FIND, MT_FIRST, MT_PRIOR, MT_NEXT, MT_LAST, MT_ConfirmDELETE, MT_ADD, MT_CLONE, MT_RESTOREToOriginal, MT_UNDO, MT_REDO, MT_TentativeACCEPT, MT_ConfirmCANCEL, MT_OKPOST, MT_HELP, MT_RECONNECT);
TADVANCE_MasterToolbar_Set = set of TADVANCE_MasterToolbar_EnumeratedType;
Prescribes the enabled buttons of the MasterToolbar™ when the page is focused and MasterToolbar.ConnectedToServer is True. See the Guideline for Controlling Visible and Enabled Buttons for related information. |
|
NAVIGATION SUBCOMPONENT PROPERTIES |
|
TComponent TADVANCE_IObj_Navigation |
Page.Navigation subcomponent. |
|
property CanFocus: Boolean read FCanFocus write SetCanFocus;
If True, and if NavWinCanDisplay is True, the page can be focused by secure page navigation methods. If False, the PageNavigationButton is disabled in the Navigation Window. See How Page Security is Treated by Navigation Methods and the Navigation Window for further information.
property Caption: String read FCaption write SetCaption;
PageNavigationButton.Caption. Also displayed in the FocusControl™.
property Glyph: TBitmap read GetGlyph write SetGlyph;
PageNavigationButton.Glyph. |
|
DELPHI EXAMPLE — ASSIGNING GLYPHS AT RUN TIME C++ EXAMPLE — ASSIGNING GLYPHS AT RUN TIME |
|
property Hint: String read GetHint write SetHint;
PageNavigationButton.Hint.
property NavWinCanDisplay: Boolean read FNavWinCanDisplay write SetNavWinCanDisplay;
If True, and if CanFocus is True, the page can be focused by secure page navigation methods. If False, the PageNavigationButton is not displayed in the Navigation Window. See How Page Security is Treated by Navigation Methods and the Navigation Window for further information.
property NumGlyphs: TNumGlyphs read GetNumGlyphs write SetNumGlyphs;
PageNavigationButton.NumGlyphs. |
|
TADVANCE_Page PROPERTIES CONTINUED... |
|
property PageGroup : TADVANCE_PageGroup_Item read GetPageGroup stored False;
Read-only pointer to a PageGroup item. Properties of the PageGroup item can be edited from the page. Configure PageGroup membership in the FocusedPageIndex property editor of the PMInterface. See TADVANCE_PMInterface.PageGroups for related information.
property PageGroup_PID : Integer read FPageGroup_PID write SetPageGroup_PID;
PageGroup_PID is the PID ("Persistent ID") of a PageGroup™ item. A value of -1 is the equivalent of a nil reference (indicating no PageGroup membership).
property PageHeightOnFocusPage : Integer read FPageHeightOnFocusPage write SetPageHeightOnFocusPage default -1;
When a module is aligned alNone, alTop, or alBottom, and when PMInterface.RenderToPageHeightOnFocusPage is true, the PMInterface renders PageHeightOnFocusPage (intended page height) when the page is focused or when RenderToPageHeightOnFocusPage is set to true. A PageHeightOnFocusPage value of -1 exempts the page from this process, resulting in no adjustment of page height when the page is focused. See TADVANCE_PMInterface.PageParent_Height, and TADVANCE_PMInterface.RenderToPageHeightOnFocusPage, for related information.
property PageIndex : Integer read GetPageIndex write SetPageIndex stored False;
Indicates the index position of the page within the Pages[] property of the PMInterface. To manipulate page order at design time, use the FocusedPageIndex property editor of the PMInterface. Order may be manipulated at run time by calling the Move method of the Pages (TList) property of the PMInterface. See TADVANCE_PMInterface.Pages[] for source examples.
property ParentColor : Boolean read FParentColor write SetParentColor default True;
Must be true for the root module ColorScheme to regulate page Color.
property ParentFont;
Must be true for the Page.Font to be regulated by the root module Font.
property ParentBiDiMode;
property PopupMenu;
property ShowHintShowHint;
property TabStop default True;
|
|
TOOLBAR SUBCOMPONENT PROPERTIES OF TADVANCE_Page_PagedTools |
|
TComponent TADVANCE_IObj_Toolbar |
Toolbar subcomponent of TADVANCE_Page_PagedTools. See TADVANCE_PagedTools_Collection and TADVANCE_PagedTools_Item for related information. |
|
Global Toolbar properties expedite development by allowing you to apply uniform configuration values to the entire Tools collection.
property Captions_Visible: Boolean read FCaptions_Visible write SetCaptions_Visible default False;
PagedTool.Caption.Visible. Globally applied to the Tools collection.
property Font: TFont read FFont write SetFont;
PagedTool.Font. Globally applied to the Tools collection.
property Layout: TButtonLayout read FLayout write SetLayout default blGlyphLeft;__property Buttons::TButtonLayout Layout = {read=FLayout, write=SetLayout, default=0};
PagedTool.Layout. Globally applied to the Tools collection.
property Margin: Integer read FMargin write SetMargin default -1;
PagedTool.Margin. Globally applied to the Tools collection when Captions_Visible is false. The default value (-1) results in centered glyphs.
property Margin_Captions_Visible: Integer read FMargin_Captions_Visible write SetMargin_Captions_Visible default 7;
PagedTool.Margin. Globally applied to the Tools collection when Captions_Visible is true. Where glyphs are a standard size, a value greater than -1 results in aligned glyphs and captions, or a more uniform appearance.
property ShowHint: Boolean read FShowHint write SetShowHint default True;
PagedTool.ShowHint. Globally applied to the Tools collection.
property Spacing: Integer read FSpacing write SetSpacing default 4;
PagedTool.Spacing (margin between glyph and caption). Globally applied to the Tools collection.
property ToolHeight: Integer read FToolHeight write SetToolHeight default 26;
PagedTool.Height. Globally applied to the Tools collection when Captions_Visible is false.
property ToolHeight_Captions_Visible: Integer read FToolHeight_Captions_Visible write SetToolHeight_Captions_Visible default 26; // Min 24, Max 50.
PagedTool.Height. Globally applied to the Tools collection when Captions_Visible is true.
property Tools: TADVANCE_PagedTools_Collection read FTools write FTools;
Managed PagedTools collection. See TADVANCE_PagedTools_Collection and TADVANCE_PagedTools_Item for related information.
property ToolWidth: Integer read FToolWidth write SetToolWidth default 26;
PagedTool.Width. Globally applied to the Tools collection when Captions_Visible is false.
property ToolWidth_Captions_Visible: Integer read FToolWidth_Captions_Visible write SetToolWidth_Captions_Visible default 80; // Min 24, Max 120.
PagedTool.Width. Globally applied to the Tools collection when Captions_Visible is true.
property Transparent: Boolean read FTransparent write SetTransparent default True;
PagedTool.Transparent. Globally applied to the Tools collection. |
|
C.03. HOW TO BUILD SUPERIOR PAGED, MULTIPLE WORKSPACE (PMW) APPLICATIONS How to deploy custom page classes and custom UPC™ modules in minutes. |
|
• PRECEDING
|
NEXT •
|
|
|