Double-Click Toolbar Button
-
While creating my latest masterpiece (cough, custom toolbars, cough) I realized it would be possible to detect a double-click on a toolbar button by saving the time that the click occured.
Just a possible way to get more functions out of a single button. Or a possible way to confuse people?
-
I think it will confuse more as normal SU toolbar icons don't have double click behavior.
also how do you show that the user should dbl click for more features besides writing in docs (that users usually dont read) -
Dear Jim,
A tool button flyout would be very nice. An obvious candidate would be the standard projections tool bar (isometric, top, bottom etc). I only use these options occasionally, but they take up space.
Regards,
Bob -
@watkins said:
Dear Jim,
A tool button flyout would be very nice. An obvious candidate would be the standard projections tool bar (isometric, top, bottom etc). I only use these options occasionally, but they take up space.
Regards,
BobIndeed it would be very nice, but it's not possible using the current Ruby API.
-
@unknownuser said:
I think it will confuse more as normal SU toolbar icons don't have double click behavior.
I agree, could be confusing - unless the functions are WAY COOL, then I'd live with it.
@unknownuser said:
also how do you show that the user should dbl click for more features besides writing in docs (that users usually dont read)
Create a second icon image that is displayed if it's been double clicked - maybe similar as the first but with a "+" symbol added somewhere.
-
Maybe I'll make a fun "easter egg" on some plugin, sometime.
-
For switching on and off things you can create a togglebutton with Sketchup-Ruby (also possible for menu items).
Doubleclickable buttons are not the common way (usability aspects). Please do not confuse the users
azuby
Advertisement