J
juneweather
Unregistered / Unconfirmed
GUEST, unregistred user!
为什么
procedure TForm1.Button1Click(Sender: TObject);
begin
Map1.Currenttool := 1;
end;
后事件
procedure TMapForm.Map1ToolUsed(Sender: TObject;
ToolNum: Smallint;
X1, Y1,
X2, Y2, Distance:do
uble;
Shift, Ctrl: Wordbool;
var EnableDefault: Wordbool);
var
distStr: string;
begin
case toolnum of
1:
begin
showmessage('hello')
end;
end;
end;
不执行呢,向前辈请教
procedure TForm1.Button1Click(Sender: TObject);
begin
Map1.Currenttool := 1;
end;
后事件
procedure TMapForm.Map1ToolUsed(Sender: TObject;
ToolNum: Smallint;
X1, Y1,
X2, Y2, Distance:do
uble;
Shift, Ctrl: Wordbool;
var EnableDefault: Wordbool);
var
distStr: string;
begin
case toolnum of
1:
begin
showmessage('hello')
end;
end;
end;
不执行呢,向前辈请教