home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Shareware for Win 95
/
Chip-Shareware-Win95.bin
/
ostatni
/
delphi
/
ruzne
/
rzcomps.exe
/
DEMO
/
LISTFRM.PA_
/
LISTFRM.PA
Wrap
Text File
|
1996-10-18
|
1KB
|
56 lines
unit Listfrm;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, RzCmboBx, RzChkLst, RzLstBox, RzLookup,
RzBtnEdt, RzLabel, ExtCtrls, RzPanel;
type
TFrmListComps = class(TForm)
BtnOK: TButton;
RzLookupDialog1: TRzLookupDialog;
PnlListBox: TRzPanel;
RzListBox1: TRzListBox;
PnlCombo1: TRzPanel;
PnlCombo2: TRzPanel;
PnlTabList: TRzPanel;
PnlCheckList: TRzPanel;
PnlButtonEdit: TRzPanel;
RzCheckList1: TRzCheckList;
RzButtonEdit1: TRzButtonEdit;
RzTabbedListBox1: TRzTabbedListBox;
RzComboBox2: TRzComboBox;
RzComboBox1: TRzComboBox;
procedure FormCreate(Sender: TObject);
procedure RzButtonEdit1ButtonClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FrmListComps: TFrmListComps;
implementation
{$R *.DFM}
procedure TFrmListComps.FormCreate(Sender: TObject);
begin
RzListBox1.Items := RzCheckList1.Items;
RzComboBox1.Items := RzCheckList1.Items;
RzComboBox2.Items := RzCheckList1.Items;
RzLookupDialog1.List := RzCheckList1.Items;
end;
procedure TFrmListComps.RzButtonEdit1ButtonClick(Sender: TObject);
begin
if RzLookupDialog1.Execute then
RzButtonEdit1.Text := RzLookupDialog1.List[ RzLookupDialog1.SelectedIndex ];
end;
end.