Cursor Position
BradCarsten
Posts: 856
Edit* I see that this is only for 4.11 and above, so is there another way to get the cursor.
In the Point reference page, there is an example for returning the cursors global position:
var pntCursor = (new Point).cursorPos();
When I run this however I get the following error:
Script Error: Line 17
TypeError: Result of expression '(new Point).cursorPos' [undefined] is not a function.
Stack Trace: ()@:17
Any Ideas?
I'm running DS 4.10 32bit
Post edited by BradCarsten on
Comments
This was added precisely because there wasn't a way to get mouse information before, so I'm afraid you will just have to wait until we get a new release version (or at least a new Public Beta).
Thanks Richard. This is going to be such a useful feature.
Try DzListView. You can get the cursor .
Other actions :
"doubleClicked(DzListViewItem*,const QPoint&,int)"
"rightButtonClicked(DzListViewItem*,const QPoint&,int)"
That's why asked for it to be added ;)