Hi All.
it is possible run a action when user click on the an image object
and run another action when double-click on the image.
for example exit program when click and minimize when double-click.![]()
Professional Software Development Tools
Hi All.
it is possible run a action when user click on the an image object
and run another action when double-click on the image.
for example exit program when click and minimize when double-click.![]()
The image object has got just 'left-click' and 'right-click' events, so you can't use the double-click.
Bye!
* On Preload:
* On Timer:Code:--nDoubleClickTime = tonumber(DLL.CallFunction("user32.dll", "GetDoubleClickTime", "", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)); nDoubleClickTime = 200; nClick = 0;
* On Click the object "Image1":Code:if (nClick == 2) then nClick = 0; Page.StopTimer(); Application.Minimize(); else nClick = 0; Page.StopTimer(); end
Code:Page.StartTimer(nDoubleClickTime); nClick = nClick + 1;