|  | 
| 
 | |||||||
|  | Thread Tools | Display Modes | 
| 
			 
			#1  
			 
			
			
			
			
		 | ||||
| 
 | ||||
|  Ribbon Customization - Gallery vs ComboBox - built-in control split button - highlighting control 
			
			I have a custom Word Ribbon using a built-in control that doesn't behave the same way as the built-in control. I'm hoping someone might have an idea on how to save an extra click. So the built-in Ribbon button for Highlighting text behaves like a Combobox. If you click on the left, it highlights the text, if you click on the right arrow, it expands to show various colours that can be selected. Also I can double-click the highlighter to have it remain on so I can drag multiple areas on the page and have highlights applied. Simples! I can use the GUI to add the button to another ribbon. Happily this works normally and can be exported to show up as: Code: <mso:gallery idQ="mso:TextHighlightColorPicker" showInRibbon="false" visible="true"/> So, when I create a custom ribbon and add that 'same' code along with the namespace, the Gallery behaviour starts to bite. This means that clicking on the left side expands the colour picker thus requiring another mouse move and a second click that the original control didn't require. Double-click doesn't work either. Bugger! I've tried variations on my ribbon without success. That code at its simplest is: Code: <gallery idMso="TextHighlightColorPicker" showLabel="false" /> 
				__________________ Andrew Lockton Chrysalis Design, Melbourne Australia Last edited by Guessed; 10-28-2025 at 08:12 PM. | 
|  | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| AutoTextList field or Building Blocks Gallery Content Control | WordExperto | Word VBA | 4 | 02-02-2024 06:24 AM | 
| How to reset building block gallery content control | ericliu24 | Word VBA | 6 | 04-15-2022 06:16 AM | 
| Reference a Building block gallery control from another Field and insert text using If logic | Flynny | Word VBA | 3 | 07-30-2018 08:34 PM | 
| Gallery Content control and protect document | DarrenOakey | Word | 2 | 08-13-2015 04:56 AM | 
| How-to: Add a quickpart, field or Building Block Gallery Content Control based on a UserForm | HighSierra | Word VBA | 0 | 05-06-2015 08:20 PM |