Is there a way to change the cursor in the confirmation box to something other than the default? e.g.)The hand
I have the confirmation box appear from inside a script when a button is pushed so is there a way to edit the script to change this?
Script below is on an actionPerformed from a button
#Go to IMCS Demo Project
if system.gui.confirm(“Go to IMCS Demo?”):
system.util.retarget(“IMCS”)
Tim
2
I don’t know whether the cursor within the confirmation box can be changed, but just about anywhere else it can be changed via this method
from java.awt import Cursor
cursor = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)
event.source.cursor = cursor
Thanks Tim.
Now I just need to know what to replace
event.source.cursor
with so that it is accessing the confirmation box components.