IHYVCLControl

Overview

IHYControl is the base interface for all controls created by a user interface controller in a host application.

It provides uniform and standardized access to properties such as Action, Index and Caption of all such controls without requiring specific type casts to VCL, Developer Express or Toolbar 2000 components.

Location


 

Action

Gets or sets the reference to the action associated with the control.

property Action: TBasicAction read write

Caption

Gets or sets the caption associated with the control.

property Caption: string read write

DestroyObject    (declared in IHYVCLObjectReference)

Destroys referenced object.

procedure DestroyObject

GetAction

function GetAction: TBasicAction

GetCaption

function GetCaption: string

GetIndex

function GetIndex: Integer

GetProperty    (declared in IHYVCLObjectReference)

function GetProperty(const aName: string): Variant

Parameters:

  • aName:

GetRefObject    (declared in IHYVCLObjectReference)

function GetRefObject: TObject

Index

Gets the index associated with the control.

property Index: Integer read write

Properties    (declared in IHYVCLObjectReference)

Gets or sets the value of the published properties of the referenced object with specified name.

property Properties[aName: string]: Variant read write

RefObject    (declared in IHYVCLObjectReference)

Gets a pointer to the referenced object.

property RefObject: TObject read write

SetAction

procedure SetAction(Value: TBasicAction)

Parameters:

  • Value:

SetCaption

procedure SetCaption(const Value: string)

Parameters:

  • Value:

SetProperty    (declared in IHYVCLObjectReference)

procedure SetProperty(const aName: string; const aPropertyValue: Variant)

Parameters:

  • aName:
  • aPropertyValue:

 

Action

Gets or sets the reference to the action associated with the control.

property Action: TBasicAction read write

Caption

Gets or sets the caption associated with the control.

property Caption: string read write

Index

Gets the index associated with the control.

property Index: Integer read write

Properties    (declared in IHYVCLObjectReference)

Gets or sets the value of the published properties of the referenced object with specified name.

property Properties[aName: string]: Variant read write

RefObject    (declared in IHYVCLObjectReference)

Gets a pointer to the referenced object.

property RefObject: TObject read write

 

DestroyObject    (declared in IHYVCLObjectReference)

Destroys referenced object.

procedure DestroyObject

GetAction

function GetAction: TBasicAction

GetCaption

function GetCaption: string

GetIndex

function GetIndex: Integer

GetProperty    (declared in IHYVCLObjectReference)

function GetProperty(const aName: string): Variant

Parameters:

  • aName:

GetRefObject    (declared in IHYVCLObjectReference)

function GetRefObject: TObject

SetAction

procedure SetAction(Value: TBasicAction)

Parameters:

  • Value:

SetCaption

procedure SetCaption(const Value: string)

Parameters:

  • Value:

SetProperty    (declared in IHYVCLObjectReference)

procedure SetProperty(const aName: string; const aPropertyValue: Variant)

Parameters:

  • aName:
  • aPropertyValue: