Is it possible to position a script detached dialog at current mouse coords ?
For the purpose of a popup list that can have the font changed.
Is it possible to position a script detached dialog at current mouse coords ?
For the purpose of a popup list that can have the font changed.
Never tried this, but it looks like you can get mouse coordinates through SysInfo
object, and then use the Dialog
properties: position
(probably to set to monitor
) and x
/y
.
EDIT: If you're already in a dialog, this might be useful: Mouse coordinates but relative to dialog's window
This is the way. You need to get mouse coordinates, then use those values to set the dialog position, and set the position
property to monitor
.
Many thanks. Thought it might be in Dialog object.