Jump to content

Recommended Posts

Posted
Hi,

 

I tried this code to catch mousemove on TuniPanel's extevents but it did not triggered onajaxevent.

 

function mousemove(sender, x, y, eOpts)

{

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

}

Posted

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

Posted

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 ?

  • Administrators
Posted

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.

  • Upvote 1
Posted

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.

Posted

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.

 

What are your requests ?!

Posted

What are your requests ?!

 

Hi,

 

first of all I want to start dragging manually, I changed dragmode and tried begindrag and enddrag but no luck. Second, I need to know control's position on the parent control any time I want.

  • 4 months later...
Posted

+1
I need to drag a row out of a TUniDBTreeGrid and drop it to one Tab of a TUniTabControl. Also I would need an Ajax Solution for D&D inside of TUniDBTreeGrid (I know it should be possible).
Greetings!

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...