Last change
on this file since 801 was 453, checked in by Kevin Toppenberg, 16 years ago |
Initial upload of TMG-CPRS 1.0.26.69
|
File size:
1.2 KB
|
Rev | Line | |
---|
[453] | 1 | //kt -- Modified with SourceScanner on 8/8/2007
|
---|
| 2 | unit fOptionsPrimaryList;
|
---|
| 3 |
|
---|
| 4 | interface
|
---|
| 5 |
|
---|
| 6 | uses
|
---|
| 7 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
|
---|
| 8 | ORCtrls, StdCtrls, ORFn, ExtCtrls, DKLang;
|
---|
| 9 |
|
---|
| 10 | type
|
---|
| 11 | TfrmOptionsPrimaryList = class(TForm)
|
---|
| 12 | pnlBottom: TPanel;
|
---|
| 13 | btnOK: TButton;
|
---|
| 14 | btnCancel: TButton;
|
---|
| 15 | lblPrimaryList: TLabel;
|
---|
| 16 | cboPrimary: TORComboBox;
|
---|
| 17 | DKLanguageController1: TDKLanguageController;
|
---|
| 18 | private
|
---|
| 19 | { Private declarations }
|
---|
| 20 | public
|
---|
| 21 | { Public declarations }
|
---|
| 22 | end;
|
---|
| 23 |
|
---|
| 24 | procedure DialogOptionsPrimaryList(fontsize: integer; var actiontype: Integer);
|
---|
| 25 |
|
---|
| 26 | var
|
---|
| 27 | frmOptionsPrimaryList: TfrmOptionsPrimaryList;
|
---|
| 28 |
|
---|
| 29 | implementation
|
---|
| 30 |
|
---|
| 31 | {$R *.DFM}
|
---|
| 32 |
|
---|
| 33 | procedure DialogOptionsPrimaryList(fontsize: integer; var actiontype: Integer);
|
---|
| 34 | // create the form and make in modal, return an action
|
---|
| 35 | var
|
---|
| 36 | frmOptionsPrimaryList: TfrmOptionsPrimaryList;
|
---|
| 37 | begin
|
---|
| 38 | frmOptionsPrimaryList := TfrmOptionsPrimaryList.Create(Application);
|
---|
| 39 | actiontype := 0;
|
---|
| 40 | try
|
---|
| 41 | with frmOptionsPrimaryList do
|
---|
| 42 | begin
|
---|
| 43 | Position := poScreenCenter;
|
---|
| 44 | Font.Size := MainFontSize;
|
---|
| 45 | ShowModal;
|
---|
| 46 | actiontype := btnOK.Tag;
|
---|
| 47 | end;
|
---|
| 48 | finally
|
---|
| 49 | frmOptionsPrimaryList.Release;
|
---|
| 50 | end;
|
---|
| 51 | end;
|
---|
| 52 |
|
---|
| 53 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.