Guest Posted February 28, 2011 Share Posted February 28, 2011 Message from: "Pedro Santos" Hello, i would like to know if the OnMouseMove event is going to be added to some visual controls like Tunicanvas? Also since atm these events arent being implemented in web mode i tried using the GetCursorPos(Var) but i lack the function in the web mode control.ScreenToClient() and control.ClientToScreen() so i can't offset the mouse position relative to the controls or Forms in web mode... . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2011 Author Share Posted March 1, 2011 Message from: "Farshad Mohajeri" "Pedro Santos" wrote in message news:j9JYt711LHA.2164@anaxagvs227... > Hello, i would like to know if the OnMouseMove event is going to be added > to some visual controls like Tunicanvas? Hello, Probably we won't have MouseMove implemented as it makes little sense when all events are sent to the server. Even a small mouse move can fire tens of events. Client side is the best place to process MouseMove events. In future we will allow to write client side scripts for mousemove and other events. > Also since atm these events arent being implemented in web mode i tried > using the GetCursorPos(Var) but i lack the function in the web mode > control.ScreenToClient() and control.ClientToScreen() so i can't offset > the mouse position relative to the controls or Forms in web mode... Yes, these events and methods aren't available in webmode. UniCanvas is still very new. Please explain what you want to achieve using these events and methods, so I can log some issues for future UniCanvas enhancements. . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2011 Author Share Posted March 1, 2011 Message from: "Pedro Santos" Hi again, Im trying to see if its possible to build a report builder based on nevrona rave reports to achieve this i need to get the current mouse pos when user clicks on a image (the image is a design mode render of a rave report) then i get the current control at those coordenates inside the rave report and change its properties. I have atm software developed in delphi 2006 (win32 vcl) using this methods you can check it out its its demo (its in Portuguese language): http://www.tet-informatica.com/registodownload.asp?IDFich=185 "Farshad Mohajeri" wrote in message news:oj%23NVi51LHA.2168@anaxagvs227... > > "Pedro Santos" wrote in message > news:j9JYt711LHA.2164@anaxagvs227... >> Hello, i would like to know if the OnMouseMove event is going to be added >> to some visual controls like Tunicanvas? > > Hello, > > Probably we won't have MouseMove implemented as it makes little sense when > all events are sent to the server. Even a small mouse move can fire tens > of > events. Client side is the best place to process MouseMove events. In > future > we will allow to write client side scripts for mousemove and other events. > >> Also since atm these events arent being implemented in web mode i tried >> using the GetCursorPos(Var) but i lack the function in the web mode >> control.ScreenToClient() and control.ClientToScreen() so i can't offset >> the mouse position relative to the controls or Forms in web mode... > > Yes, these events and methods aren't available in webmode. UniCanvas is > still very new. Please explain what you want to achieve using these events > and methods, so I can log some issues for future UniCanvas enhancements. > > Quote Link to comment Share on other sites More sharing options...
Guest Posted March 2, 2011 Author Share Posted March 2, 2011 Message from: "Farshad Mohajeri" "Pedro Santos" wrote in message news:74uF1i$1LHA.2164@anaxagvs227... > Hi again, > Im trying to see if its possible to build a report builder based on > nevrona rave reports to achieve this i need to get the current mouse pos > when user clicks on a image (the image is a design mode render of a rave > report) then i get the current control at those coordenates inside the > rave report and change its properties. > Events MouseDown and MouseUp will be implemented in uniGUI so will be able to get the coordinates. > I have atm software developed in delphi 2006 (win32 vcl) using this > methods you can check it out its its demo (its in Portuguese language): > http://www.tet-informatica.com/registodownload.asp?IDFich=185 > I will check. Thanks . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.