Class TDualListDialog (unit Dllstdlg)

Inherits from

TComponent

Public declarations

Constructors


constructor Create(AOwner: TComponent);

------------------------------------------------------------------ end class TDualListForm ------------------------------------------------------------------} {------------------------------------------------------------------ class TDualListDialog ------------------------------------------------------------------


Functions

destructor Destroy;

create string lists

function Execute: Boolean;

function Execute shows dual list dialog modally returns true iff Ok button was used to end form

if different, assign to dst list


procedure SetDstList(NewList: TStrings);

if different, assign to src list

procedure SetSrcList(NewList: TStrings);

destroy me

Properties

property DstList : TStrings

property DstList holds the list of strings and objects associated with the Destination List Box.

property DstListCaption : String

property DstListCaption holds the text of the label just above the Destination List Box

property FormCaption : String

property FormCaption holds the caption of the form

property SrcList : TStrings

property SrcList holds the list of strings and objects associated with the Source List Box.

property SrcListCaption : String

property SrcListCaption holds the text of the label just above the Source List Box

Events

Variables

FDstList : TStrings;


FDstListCaption : String;


FFormCaption : String;


FSrcList : TStrings;


FSrcListCaption : String;



Constructors


constructor Create(AOwner: TComponent);

------------------------------------------------------------------ end class TDualListForm ------------------------------------------------------------------} {------------------------------------------------------------------ class TDualListDialog ------------------------------------------------------------------


Functions


destructor Destroy;

create string lists


function Execute: Boolean;

function Execute shows dual list dialog modally returns true iff Ok button was used to end form

if different, assign to dst list


procedure SetDstList(NewList: TStrings);

if different, assign to src list


procedure SetSrcList(NewList: TStrings);

destroy me


Properties


property DstList : TStrings

property DstList holds the list of strings and objects associated with the Destination List Box. Is only updated from form results if Execute returns True.


property DstListCaption : String

property DstListCaption holds the text of the label just above the Destination List Box


property FormCaption : String

property FormCaption holds the caption of the form


property SrcList : TStrings

property SrcList holds the list of strings and objects associated with the Source List Box. Is only updated from form results if Execute returns True.


property SrcListCaption : String

property SrcListCaption holds the text of the label just above the Source List Box


Events


Variables


FDstList : TStrings;


FDstListCaption : String;


FFormCaption : String;


FSrcList : TStrings;


FSrcListCaption : String;