i need to know how to call a procedure
when holding the mouse and dragging it
.. please help if you can ????
![]()
i need to know how to call a procedure
when holding the mouse and dragging it
.. please help if you can ????
![]()
Please explain more, I don't get your question.
ok this is what i mean...
this should give you a idea....
SCAR Code:var
main:Form;
procedure callingproc(Sender:TObject; Somthing goes here.. );
begin
writeln('you just Dragged you mouse on MainForm');
end;
procedure loadform;
begin
Main:= createform;
Main.SetBounds(100,100,200,200);
Main.Ondrag:= @callingproc;
end;
begin
loadform;
end;
There are currently 1 users browsing this thread. (0 members and 1 guests)