Class TVersionLabel (unit MEVerLbl)

Inherits from

TCustomLabel

Constructors


constructor Create(AOwner: TComponent);

Public declarations


Functions

destructor Destroy;

-1 = auto detect

function GetInfoPrefix: string;


procedure SetInfoPrefix(Value: String);

Protected declarations

procedure SetLangCharset(Value: string);


procedure SetShowInfoPrefix(Value: boolean);


procedure SetVersionResource(Value: TVersionResources);


procedure SetVersionResourceKey(Value: string);

The caption needs to be recalculated everytime the prefix is changed, otherwise the detaults override the user specified one

function GetFixedFileInfo(Buffer: PChar; size: integer): string;


function GetInfo: string;


function GetStringFileInfo(Buffer: Pchar; size: integer): string;


procedure SetupCaption;


procedure SetupInfoPrefix;


procedure SetupResourceKey;


Properties

property Align :


property Alignment :


property AutoSize :


property Color :


property Font :


property InfoPrefix : String


property LangCharset : string


property ParentFont :


property ShowInfoPrefix : boolean


property VersionResource : TVersionResources

Published declarations

property VersionResourceKey : string


property WordWrap :


Events

Variables

FInfoPrefix : string;


FLangCharset : string;


FShowInfoPrefix : boolean;


FVersionResource : TVersionResources;

Private declarations

FVersionResourceKey : string;



Constructors


constructor Create(AOwner: TComponent);

Public declarations


Functions


destructor Destroy;

-1 = auto detect


function GetInfoPrefix: string;


procedure SetInfoPrefix(Value: String);

Protected declarations


procedure SetLangCharset(Value: string);


procedure SetShowInfoPrefix(Value: boolean);


procedure SetVersionResource(Value: TVersionResources);


procedure SetVersionResourceKey(Value: string);

The caption needs to be recalculated everytime the prefix is changed, otherwise the detaults override the user specified one


function GetFixedFileInfo(Buffer: PChar; size: integer): string;


function GetInfo: string;


function GetStringFileInfo(Buffer: Pchar; size: integer): string;


procedure SetupCaption;


procedure SetupInfoPrefix;


procedure SetupResourceKey;


Properties


property Align :


property Alignment :


property AutoSize :


property Color :


property Font :


property InfoPrefix : String


property LangCharset : string


property ParentFont :


property ShowInfoPrefix : boolean


property VersionResource : TVersionResources

Published declarations


property VersionResourceKey : string


property WordWrap :


Events


Variables


FInfoPrefix : string;


FLangCharset : string;


FShowInfoPrefix : boolean;


FVersionResource : TVersionResources;

Private declarations


FVersionResourceKey : string;