Class TAliasComboBox (unit TAlsCom)

Inherits from

TCustomComboBox

Constructors


constructor Create(owner: TComponent);

buffer.


Functions

procedure Add(const alias, driver: String; the_params: TStrings);

--------------------------------------------------------------------- Add a new alias.

procedure Delete(const alias: String);

--------------------------------------------------------------------- Delete an existing alias.

destructor Destroy;

--------------------------------------------------------------------- destroy

function Exists(const alias: String): Boolean;

--------------------------------------------------------------------- Check if an alias exists.

procedure Flush;

---------------------------------------------------------------------

procedure GetAliasList(the_params: TStrings);

--------------------------------------------------------------------- Get a list of available aliases.

function GetDriver(const alias: String): String;

--------------------------------------------------------------------- Get the driver name for an alias.

procedure GetParams(const alias: String; the_params: TStrings);

--------------------------------------------------------------------- Get the parameters for an alias.

function GetPath(const alias: String): String;

--------------------------------------------------------------------- Get the path for an alias.

function GetType(const alias: String): String;

--------------------------------------------------------------------- Get the type of an alias.

procedure Modify(const alias: String; the_params: TStrings);

--------------------------------------------------------------------- Modify an existing alias.

procedure CreateWnd;

set configuration mode.

procedure InitBde;

original BDE's configuration mode.

procedure RestoreSessionConfigMode;

set acvive BDE's session.

procedure SetConfigMode(Value: TConfigMode);

---------------------------------------------------------------------

procedure SetSessionConfigMode;

restore configuration mode.

Properties

property Color :

property Style; {Must be published before Items

property ConfigMode : TConfigMode


property Ctl3D :


property Enabled :

property DragMode; property DragCursor; property DropDownCount;

property Font :


property ItemHeight :

$IFNDEF USLIB*) // property ImeMode; (*$ENDIF USLIB

property ParentColor :

property Items; property MaxLength;

property ParentCtl3D :


property ParentFont :


property ParentShowHint :


property ShowHint :

property PopupMenu;

property TabOrder :

property Sorted;

property TabStop :


property Text :


property Visible :


Events

event OnChange :


event OnClick :


event OnDblClick :


event OnDrawItem :

property OnDragDrop; property OnDragOver;

event OnEnter :

property OnDropDown; property OnEndDrag;

event OnExit :


event OnKeyDown :


event OnKeyPress :


event OnKeyUp :


Variables

Params : TStringList;


fConfigMode : TConfigMode;


fOldConfigMode : TConfigMode;

this component BDE's configuration mode.


Constructors


constructor Create(owner: TComponent);

buffer.

--------------------------------------------------------------------- create


Functions


procedure Add(const alias, driver: String; the_params: TStrings);

--------------------------------------------------------------------- Add a new alias.


procedure Delete(const alias: String);

--------------------------------------------------------------------- Delete an existing alias.


destructor Destroy;

--------------------------------------------------------------------- destroy


function Exists(const alias: String): Boolean;

--------------------------------------------------------------------- Check if an alias exists.


procedure Flush;

---------------------------------------------------------------------


procedure GetAliasList(the_params: TStrings);

--------------------------------------------------------------------- Get a list of available aliases.


function GetDriver(const alias: String): String;

--------------------------------------------------------------------- Get the driver name for an alias.


procedure GetParams(const alias: String; the_params: TStrings);

--------------------------------------------------------------------- Get the parameters for an alias.


function GetPath(const alias: String): String;

--------------------------------------------------------------------- Get the path for an alias.


function GetType(const alias: String): String;

--------------------------------------------------------------------- Get the type of an alias.


procedure Modify(const alias: String; the_params: TStrings);

--------------------------------------------------------------------- Modify an existing alias.


procedure CreateWnd;

set configuration mode.

--------------------------------------------------------------------- Create Window handle.


procedure InitBde;

original BDE's configuration mode.

TAliasComboBox } //--------------------------------------------------------------------- // set acvive BDE's session.


procedure RestoreSessionConfigMode;

set acvive BDE's session.

--------------------------------------------------------------------- restore configuration mode.


procedure SetConfigMode(Value: TConfigMode);

---------------------------------------------------------------------


procedure SetSessionConfigMode;

restore configuration mode.

--------------------------------------------------------------------- set configuration mode.


Properties


property Color :

property Style; {Must be published before Items


property ConfigMode : TConfigMode


property Ctl3D :


property Enabled :

property DragMode; property DragCursor; property DropDownCount;


property Font :


property ItemHeight :

$IFNDEF USLIB*) // property ImeMode; (*$ENDIF USLIB


property ParentColor :

property Items; property MaxLength;


property ParentCtl3D :


property ParentFont :


property ParentShowHint :


property ShowHint :

property PopupMenu;


property TabOrder :

property Sorted;


property TabStop :


property Text :


property Visible :


Events


event OnChange :


event OnClick :


event OnDblClick :


event OnDrawItem :

property OnDragDrop; property OnDragOver;


event OnEnter :

property OnDropDown; property OnEndDrag;


event OnExit :


event OnKeyDown :


event OnKeyPress :


event OnKeyUp :


Variables


Params : TStringList;


fConfigMode : TConfigMode;


fOldConfigMode : TConfigMode;

this component BDE's configuration mode.