
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@73 8e941d3f-bd1b-0410-a28a-d453659cc2b4
41 lines
660 B
ObjectPascal
41 lines
660 B
ObjectPascal
{$mode objfpc}{$H+}
|
|
|
|
unit backstyl;
|
|
|
|
interface
|
|
|
|
uses
|
|
SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
|
|
StdCtrls, ExtCtrls, Buttons, LResources;
|
|
|
|
type
|
|
TfrmBackStyle = class(TForm)
|
|
RadioGroup1: TRadioGroup;
|
|
btnOk: TButton;
|
|
btnCancel: TButton;
|
|
procedure btnOkClick(Sender: TObject);
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
var
|
|
frmBackStyle: TfrmBackStyle;
|
|
|
|
implementation
|
|
|
|
uses Unit1, RichView;
|
|
|
|
{.$R *.DFM}
|
|
|
|
procedure TfrmBackStyle.btnOkClick(Sender: TObject);
|
|
begin
|
|
Form1.RichView1.BackgroundStyle := TBackgroundStyle(RadioGroup1.ItemIndex);
|
|
end;
|
|
|
|
initialization
|
|
{$I BackStyl.lrs}
|
|
|
|
end.
|