View Single Post
Old 02-07-2012, 07:41 AM   #438
Gauthier
Enthusiast
Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'Gauthier knows the difference between 'who' and 'whom'
 
Posts: 25
Karma: 10000
Join Date: Jan 2012
Device: kindle
Quote:
Originally Posted by =X= View Post
Question is there any way I could group a button and menu item together so I could get

<Word Wrap ...v>

Where if the user presses the word "Word Wrap a method is executed and if the user presses the "v" menu button a drop down menu appears.

For further reference the "Add-Ons" ribbon has the features I'm looking for
=X=
Yes you do it this way:
Code:
<splitButton id="splitButton" size="large" >
  <button id="button" imageMso="HappyFace" label="Split Button" />
  <menu id="menu">
    <button id="button1" label="Button 1" />
    <button id="button2" label="Button 2" />
  </menu>
</splitButton>
Gauthier is offline   Reply With Quote