Page 1 of 1

Wrong cursor after scripted painting?

Posted: Thu Feb 04, 2021 8:27 pm
by PlaidFlannel
In my stack, I sometimes paint into an image object under script control. In such a script, there is a line "select line tool", some dragging, and then the line "select browse tool".

During the painting, the cursor appears to be the plus sign "+". When the browse tool is selected and the script finishes, the cursor does not usually change back to the arrow until after it has been moved out of the control (usually a button) that initiated the painting script.

Is it my responsibility in my script to change the cursor back to the arrow?

Re: Wrong cursor after scripted painting?

Posted: Sat Mar 20, 2021 7:32 am
by richmond62
Is it my responsibility in my script to change the cursor back to the arrow?
As the cursor does not change back to the pointer it seems you
have answered your own question. 8)

Re: Wrong cursor after scripted painting?

Posted: Sat Mar 20, 2021 7:18 pm
by dunbarx
Considering Richmond's spot-on but slightly snarky reply ( :wink: ), check out the "choose" command in the dictionary.

Craig