Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Hints and Tips
Tip: Allowing a right click action without the default DesktopX object menu appearing.
To prevent the default menu behaviour of DesktopX when you right click an object insert the command:
Object_OnRButtonUp = True
into the Object_OnRButtonUp(x,y,dragged) function.
Whatever commands you place in the right click function will become the only response to a right click on the object.
Function Object_OnRButtonUp(x,y,dragged) Object_OnRButtonUp = True End Function
Note that this will also disable the DesktopX Builder right click menu for the objects you place it in.
You can capture the right clicks of all children of an object by using the Object_OnRButtonUpEx(obj,x,y,dragged) command.
Function Object_OnRButtonUpEx(obj,x,y,dragged) Object_OnRButtonUp = True End Function