Page 1 of 1

Invalid Passport

Posted: Wed Jun 15, 2022 1:51 pm
by richmond62
I wonder why, when I put this into the messageBox it doesn't work:

Code: Select all

set the borderColor of grc "vv" to "red"

Re: Invalid Passport

Posted: Wed Jun 15, 2022 2:05 pm
by richmond62
Answering my own guff again . . .

Because the border of a graphic is NOT it border: its border is its bounding box.

So . . . . how does one move from this:
-
SShot 2022-06-15 at 16.04.16.png
SShot 2022-06-15 at 16.04.16.png (25.19 KiB) Viewed 2290 times
-
to this with a script:
-
SShot 2022-06-15 at 16.04.46.png
SShot 2022-06-15 at 16.04.46.png (25.33 KiB) Viewed 2290 times
-
SShot 2022-06-15 at 16.07.57.png

Re: Invalid Passport

Posted: Wed Jun 15, 2022 2:13 pm
by richmond62
SShot 2022-06-15 at 16.10.11.png
SShot 2022-06-15 at 16.10.11.png (14.37 KiB) Viewed 2285 times
-
NOT obvious at all.

For some stupid reason I did not automatically equate 'border color' in the props palette

with foreGroundColor:
-
SShot 2022-06-15 at 16.11.24.png
SShot 2022-06-15 at 16.11.24.png (8.93 KiB) Viewed 2285 times
-
And why, forbye, would I, FFS?

Re: Invalid Passport

Posted: Wed Jun 15, 2022 7:36 pm
by SparkOut
The property inspector can toggle the property label to show either the description or the property name itself, with one of the settings in the preferences. In both versions, the other description/name is shown as a tooltip on hovering over the label.

Re: Invalid Passport

Posted: Wed Jun 15, 2022 7:46 pm
by richmond62
That's very useful to know.

Thanks.
-
SShot 2022-06-15 at 21.47.57.png