You've already forked lazarus-ccr
44 lines
684 B
ObjectPascal
44 lines
684 B
ObjectPascal
![]() |
unit rootmethodunit;
|
||
|
|
||
|
{$mode objfpc}{$H+}
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
||
|
ExtCtrls, StdCtrls;
|
||
|
|
||
|
type
|
||
|
|
||
|
{ Trootmethodfrm }
|
||
|
|
||
|
Trootmethodfrm = class(TForm)
|
||
|
CancelBtn: TButton;
|
||
|
ReturnBtn: TButton;
|
||
|
MethodGroup: TRadioGroup;
|
||
|
procedure ReturnBtnClick(Sender: TObject);
|
||
|
private
|
||
|
{ private declarations }
|
||
|
public
|
||
|
{ public declarations }
|
||
|
Choice : integer;
|
||
|
end;
|
||
|
|
||
|
var
|
||
|
rootmethodfrm: Trootmethodfrm;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
{ Trootmethodfrm }
|
||
|
|
||
|
procedure Trootmethodfrm.ReturnBtnClick(Sender: TObject);
|
||
|
begin
|
||
|
Choice := MethodGroup.ItemIndex + 1;
|
||
|
end;
|
||
|
|
||
|
initialization
|
||
|
{$I rootmethodunit.lrs}
|
||
|
|
||
|
end.
|
||
|
|