News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Universal Callout: smart callout upgrade

Started by wapperdude, December 02, 2015, 07:18:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wapperdude

This post is an upgrade to the original Smart Callout post:  http://visguy.com/vgforum/index.php?topic=1472.msg6242#msg6242  A new, composite shape is presented here.  It includes:
A.)  variety of shape styles:  rectangular/square, oval/circle, triangle/equilateral triangle
B.)  several text modes:  non-scaling, re-sizing, and scaling
C.)  smart right click, context menu.

Regarding (C), depending upon the option selected, the menu will either collapse or expand in size to display additional features.  The goal was to maintain a simple, uncluttered menu by eliminating "non-functional" options.  For example, if "High Contrast" text is chosen, then, there is no matching text to line color.

Regarding (B):  regardless of mode option, the shapeheight will always expand as needed and set the minimum height to keep text within the shape.  (1) non-scaling is the more "traditional" text entry mode.  The shapewidth will expand to accommodate text as entered.  (2) and (3) are text scaling options.  Textwidth is NOT impacted by text entry.  Rather, the text will adjust to remain within the shapewidth.  Adjusting the shapewidth will affect text scaling.  Mode (2) since character size is set by the shape, GUI control is non-effective.  Mode (3) does respond to GUI character sizing.  This mode is similar to Visio Guy's cloud shape http://visguy.com/vgforum/index.php?topic=6883.msg28743;topicseen#msg28743.  However, the algorithm is different with an overall different behavior...mainly, text wrapping.

I won't guarantee that it is "bug" free, but I did try to anticipate "normal" usage conditions, so, use at your own risk.

Enjoy!
Wapperdude
Visio 2019 Pro

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 143 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1004KB.
Tokens: post-login.
Cache hits: 13: 0.00172s for 26,729 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]