source: branches/xpascal/Forms/FormOutput.pas

Last change on this file was 227, checked in by chronos, 17 months ago
  • Added: Test form.
  • Added: Interface translation.
  • Added: Common package.
File size: 725 bytes
Line 
1unit FormOutput;
2
3interface
4
5uses
6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, SynEdit,
7 SynHighlighterAny, SynHighlighterPas, SynHighlighterCpp, SynHighlighterXML,
8 SynHighlighterPHP, FormEx;
9
10type
11
12 { TFormOutput }
13
14 TFormOutput = class(TFormEx)
15 Label1: TLabel;
16 SynCppSyn1: TSynCppSyn;
17 SynEditOutput: TSynEdit;
18 SynPasSyn1: TSynPasSyn;
19 SynPHPSyn1: TSynPHPSyn;
20 SynXMLSyn1: TSynXMLSyn;
21 public
22 procedure Clear;
23 procedure SetText(Text: string);
24 end;
25
26
27implementation
28
29{$R *.lfm}
30
31{ TFormOutput }
32
33procedure TFormOutput.Clear;
34begin
35 SynEditOutput.Lines.Clear;
36end;
37
38procedure TFormOutput.SetText(Text: string);
39begin
40 SynEditOutput.Lines.Text := Text;
41end;
42
43end.
44
Note: See TracBrowser for help on using the repository browser.