DIP Switch Shapes Gone Wild!
Recently in the Visio Guy Newsgroups, user Ziorg77 submitted a wonderful Visio SmartShape of a DIP switch, where you could toggle each of the eight switches individually.
This led to a flurry of discussion, and several more user-submitted versions of the shape.
Each version had a unique interaction style that provided an opportunity for a fascinating comparison of Visio shape behavior and user interaction.
You can see all the shapes in action in a video I’ve prepared, and–even better–you can download these free Visio shapes at the end of this article.
Watch DIP Switch Shapes Gone Wild
The problem with the internet is all that darned text you have to read, so let’s take a break today and watch TV!
This video shows four versions of the DIP switch Visio shape, and the creative ways that the shape designers came up with to manipulate the switches:
OK, You Can Read About Them Too!
For those of you who can’t deal with sound right now, or who want to save a little bandwidth, here’s a quick summary of the shape variations.
Shape Data & Right-Click Actions
Ziorg77 started it all off with his version of the DIP switch. He implemented a “dual-mode” interface, where you could toggle the switches on and off via either of two ways. You can select the shape then use drop-down items in the Shape Data window, or you can directly right-click on the shape and toggle the switches:
Bit Mask: One Field, Eight Digits
Visio Guy (*cough*) then got into the act, with the spirit of an impatient, keyboard-shortcut-using, command-line-missing, old school hack.
Visio Guy didn’t have the patience to deal with eight items individually, so he implemented a bit mask–a single string of ones and zeroes that you can quickly type into a single Shape Data field:
While this approach is rather geeky, but it is probably the fastest method shown here, and lends itself well to automation via code, since only one ShapeSheet cell needs to be set, and that cell-setting code doesn’t need to much know about the shape, just about ON and OFF.
Just Flip the Switches, DUH!
Fed up with the indirection of Shape Data drop-downs and right-mouse menu clicks, Zhuravsky put the control right onto the shape itself. Below you can see Z’s eight yellow control handles that you can use to slide the switches into place. No right-clicking, no Shape Data windows, no documentation, no explanation. To use Zhuravsky’s words; “use mouse instead of screwdriver!”
He also used the ShapeSheet BOUND function to make sure that the switches snap crisply into place. You don’t have to worry about sliding them 75% of the way!
But Zhuravsky had more in store, and adapted his control handles to this nice, 3D, isometric view of a DIP switch. Very cool indeed!
Read More & Download
You can read the discussion surrounding these shapes, and download them for free on our Visio Guy forum: