Recent

Author Topic: Dynamic OnMouseUp and other  (Read 4196 times)

yonami

  • Newbie
  • Posts: 2
Dynamic OnMouseUp and other
« on: May 15, 2005, 07:00:11 am »
Hi.

I have a problem :-)

With Delphi it is working - Kylix/Delphi too
But fpc message is:
"Wrong Numbers of parameters"

Anybody know how to set onmousemove from procedure?

I try to set onMouseMove and Down  from procedure (example):
{
   dynamicPanel.onMouseMove := MyOnMouseMove;
}

Thanks :-)

and...
when we will se the full Lazarus in action?
when gtk2?

Best regards
Marcel

hombergs

  • New Member
  • *
  • Posts: 15
Dynamic OnMouseUp and other
« Reply #1 on: May 15, 2005, 07:37:21 pm »
In Delphi you type this:

Code: [Select]
dynamicPanel.onMouseMove := MyOnMouseMove;

In Lazarus you must type this:

Code: [Select]
dynamicPanel.onMouseMove := @MyOnMouseMove;
Zeos Teammember

yonami

  • Newbie
  • Posts: 2
Wow
« Reply #2 on: May 16, 2005, 08:22:16 am »
Wow...

Thanks. It`s looking as C++ now :-)

Lazarus Rules :-)

 

TinyPortal © 2005-2018