Book a Demo

Author Topic: Display name of whiteboard shape icon?  (Read 5063 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Display name of whiteboard shape icon?
« on: February 18, 2020, 02:27:09 pm »

Is there a tag that can be set to enable display the name associated with a whiteboard shape icon "Up Arrow Thin"?


Unfortunately in searching the forums I can across this old and locked (by an admin) post
https://www.sparxsystems.com/forums/smf/index.php/topic,29837.msg218975.html#msg218975
so I suspect I know the answer, but just in case, or living in hope?  ???




Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Display name of whiteboard shape icon?
« Reply #1 on: February 18, 2020, 04:11:21 pm »
Think the only way is to do your own stereotype shape script similar to this one by adding "shape label" code
Code: [Select]
shape main
{
// fixedAspectRatio = true;
noshadow=true;
defsize(70,90);
startpath();
moveto(50,0);
lineto(100,25);
lineto(75,25);
lineto(75,100);
lineto(25,100);
lineto(25,25);
lineto(0,25);
lineto(50,0);
endpath();
fillandstrokepath();
}

shape label
{
setorigin("S",0,0);
print("#NAME#");
}

« Last Edit: February 18, 2020, 04:14:09 pm by Sunshine »
Happy to help
:)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Display name of whiteboard shape icon?
« Reply #2 on: February 19, 2020, 12:04:07 pm »
lol, good one, thanks
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.