1
Bugs and Issues / Re: ShapeScript NotesVisible property
« on: April 09, 2020, 12:36:58 pm »
Hi Uffe,
In response to your original question,
The assumption I made (incorrectly as it turned out) was that you had Notes, with content, that you wanted to display.
Both Qwerty and I answered that question correctly. You set it in Diagram Properties OR Element Feature Visibility.
But thank you for highlighting the redundant code for checking existence of the property, I won't do that again.
And yes the complete set of criteria for whether 'NotesVisible' equates to 'true' does indeed require content in the Notes field. Terrible name for the property, because sometimes you may want to display a compartment for Notes whether there is content or not.
The 'NotesVisible' property should only refer to the settings which would indicate a desire to show the Notes.
A separate property to test for content in the Notes, such as 'HasNotes', should be used to determine if the notes aren't blank.
Glad I could jog your memory. We are all trying to help each other after all.
kevin
In response to your original question,
I've tried both the diagram's properties (Elements - Notes) and the element's compartment visibility. Either way, the NotesVisible property is stubbornly stuck at false.
The assumption I made (incorrectly as it turned out) was that you had Notes, with content, that you wanted to display.
Both Qwerty and I answered that question correctly. You set it in Diagram Properties OR Element Feature Visibility.
But thank you for highlighting the redundant code for checking existence of the property, I won't do that again.
And yes the complete set of criteria for whether 'NotesVisible' equates to 'true' does indeed require content in the Notes field. Terrible name for the property, because sometimes you may want to display a compartment for Notes whether there is content or not.
The 'NotesVisible' property should only refer to the settings which would indicate a desire to show the Notes.
A separate property to test for content in the Notes, such as 'HasNotes', should be used to determine if the notes aren't blank.
Glad I could jog your memory. We are all trying to help each other after all.
kevin