HOME, PRODUCTS, ARTICLESCONTACT

BUY UPC™UPC™ FEEDBACKUPC™ SUPPORT

D.04. TADVANCE_IObj_LogoPanel

TComponent

TADVANCE_IObj_LogoPanel

LogoPanel™.

TADVANCE_IObj_LogoPanel interfaces the LogoPanel™ of composite modules, which features a stretched LogoBGPicture background image, LogoPicture, and transparent positionable Caption.

TADVANCE_IObj_LogoPanel (LogoPanel) in the Object Inspector.

TADVANCE_IObj_LogoPanel in the Object Inspector.

PROPERTIES

property Caption : String read FCaption write SetCaption;
__property AnsiString Caption = {read=FCaption, write=SetCaption};

LogoPanel.Caption.

property Caption_CharSpacing : TADVANCE_CharSpacing read FCaption_CharSpacing write SetCaption_CharSpacing default cs3x;
__property TADVANCE_CharSpacing Caption_CharSpacing = {read=FCaption_CharSpacing, write=SetCaption_CharSpacing, default=2};

TADVANCE_CharSpacing = (csNormal, cs2X, cs3X, cs4X, cs5X);
enum TADVANCE_CharSpacing { csNormal, cs2X, cs3X, cs4X, cs5X };

Calls TADVANCE_PM.ReturnSpacedString() to apply character spacing to the LogoPanel caption. For effect, or to make smaller fonts more legible.

property Caption_Left : Integer read FCaption_Left write SetCaption_Left default 210;
__property int Caption_Left = {read=FCaption_Left, write=SetCaption_Left, default=210};

Caption.Left.

property Caption_Top : Integer read FCaption_Top write SetCaption_Top default 11;
__property int Caption_Top = {read=FCaption_Top, write=SetCaption_Top, default=11};

Caption.Top.

property Color : TColor read FColor write SetColor default clBtnShadow;
__property Graphics::TColor Color = {read=FColor, write=SetColor, default=-16777200};

Background color.

property Font : TFont read FFont write FFont;
__property Graphics::TFont* Font = {read=FFont, write=FFont};

Caption.Font.

property Height : Integer read FHeight write SetHeight default 34;
__property int Height = {read=FHeight, write=SetHeight, default=34};

LogoPanel.Height.

property Hint : String read FHint write SetHint;
__property AnsiString Hint = {read=FHint, write=SetHint};

LogoPanel.Hint.

property LogoBGPicture : TADVANCE_LogoBGPicture read FLogoBGPicture write SetLogoBGPicture;
__property TADVANCE_LogoBGPicture * LogoBGPicture = {read=FLogoBGPicture, write=SetLogoBGPicture};

Background image, stretched across region. Must be true bitmap.

property LogoPicture : TADVANCE_LogoPicture read FLogoPicture write SetLogoPicture;
__property TADVANCE_LogoPicture* LogoPicture = {read=FLogoPicture, write=SetLogoPicture};

Logo image. Must be true bitmap. See Compiling Resource (.res) Files from Resource Compiler (.rc) Text File Prescriptions, and Using LoadFromResourceName for related information.

DELPHI EXAMPLE — PREFERABLE LoadFromResourceName IMPLEMENTATION

Copy code to clipboard (JavaScript/IE).

DELPHI EXAMPLE — LoadFromFile IMPLEMENTATION

Copy code to clipboard (JavaScript/IE).

C++ EXAMPLE — PREFERABLE LoadFromResourceName IMPLEMENTATION

Copy code to clipboard (JavaScript/IE).

C++ EXAMPLE — LoadFromFile IMPLEMENTATION

Copy code to clipboard (JavaScript/IE).

property LogoPicture_Left : Integer read FLogoPicture_Left write SetLogoPicture_Left default 40;
__property int LogoPicture_Left = {read=FLogoPicture_Left, write=SetLogoPicture_Left, default=40};

LogoPicture.Left.

property LogoPicture_Top : Integer read FLogoPicture_Top write SetLogoPicture_Top default 0;
__property int LogoPicture_Top = {read=FLogoPicture_Top, write=SetLogoPicture_Top, default=0};

LogoPicture.Top.

property ShowHint : Boolean read FShowHint write SetShowHint default True;
__property bool ShowHint = {read=FShowHint, write=SetShowHint, default=1};

LogoPanel.ShowHint.

property Visible : Boolean read FVisible write SetVisible default True;
__property bool Visible = {read=FVisible, write=SetVisible, default=1};

LogoPanel.Visible.

© Copyright 1995-2007, by ADVANCE Information Systems, Inc. ALL RIGHTS RESERVED.Copyright 1995-2007, by ADVANCE Information Systems, Inc. ALL RIGHTS RESERVED.

Firefox™.Best viewed in Mozilla Firefox™.