source: cprs/trunk/CPRS-Chart/Options/fOptionsSubscribe.pas@ 1722

Last change on this file since 1722 was 829, checked in by Kevin Toppenberg, 14 years ago

Upgrade to version 27

File size: 1.1 KB
RevLine 
[829]1unit fOptionsSubscribe;
2
3interface
4
5uses
6 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
7 ExtCtrls, StdCtrls, ORFn, fBase508Form, VA508AccessibilityManager;
8
9type
10 TfrmOptionsSubscribe = class(TfrmBase508Form)
11 pnlBottom: TPanel;
12 btnOK: TButton;
13 btnCancel: TButton;
14 bvlBottom: TBevel;
15 private
16 { Private declarations }
17 public
18 { Public declarations }
19 end;
20
21var
22 frmOptionsSubscribe: TfrmOptionsSubscribe;
23
24procedure DialogOptionsSubscribe(fontsize: integer; var actiontype: Integer);
25
26implementation
27
28{$R *.DFM}
29
30procedure DialogOptionsSubscribe(fontsize: integer; var actiontype: Integer);
31// create the form and make it modal, return an action
32var
33 frmOptionsSubscribe: TfrmOptionsSubscribe;
34begin
35 frmOptionsSubscribe := TfrmOptionsSubscribe.Create(Application);
36 actiontype := 0;
37 try
38 with frmOptionsSubscribe do
39 begin
40 Font.Size := MainFontSize;
41 ShowModal;
42 actiontype := btnOK.Tag;
43 end;
44 finally
45 frmOptionsSubscribe.Release;
46 end;
47end;
48
49end.
Note: See TracBrowser for help on using the repository browser.