Jump to content

AjaxEvent


bilcan

Recommended Posts

function mousemove(sender, x, y, eOpts)

{
   ajaxRequest(sender, 'MouseMoveEvent', [ 'param0='+X, 'param1='+Y ]);
}

 

 

ajaxRequest(sender, 'MouseMoveEvent', [ 'param0='+X, 'param1='+Y ]);

 

Correct:

ajaxRequest(sender, 'MouseMoveEvent', [ 'param0='+x, 'param1='+y]);

"All" are case sensitive

Link to comment
Share on other sites

ajaxRequest(sender, 'MouseMoveEvent', [ 'param0='+X, 'param1='+Y ]);

 

Correct:

ajaxRequest(sender, 'MouseMoveEvent', [ 'param0='+x, 'param1='+y]);

"All" are case sensitive

 

Thank you,

 

it works. but it does not cath events when left mouse is clicking ?

Link to comment
Share on other sites

Catching mouse events on server side is a very bad method. It generates too many events per second which is not possible to track on server.

 

Please forget VCL programming habits and try adopting web programming.

Hi,

 

thank you but I need to drag and drop a control, what is the best way to do it? I saw drag demo but it is does not meet my requests.

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...