Sie sind hier: Backstage - Combobox - Control
Backstage - Combobox - Control
Achtung: Alle hier vorgestellten Eigenschaften funktionieren ausschließlich in Office 2010.
Das comboBox Element unterscheidet sich von der Ribbon Standard comboBox.
Die dazugehörige XML Ribbon Datei:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> <ribbon startFromScratch="false"> <!-- Ribbon XML --> </ribbon> <backstage> <tab id="btab1" label="Label 1. Tab"> <firstColumn> <group id="myGroup" style="normal" label="Form Button:"> <bottomItems> <comboBox id="cbo1" label="Form ComboBox 1"> <item id="itmCB1" label="1. Item"/> <item id="itmCB2" label="2. Item"/> <item id="itmCB3" label="3. Item"/> </comboBox> <comboBox id="cbo2" label="Form ComboBox 2" expand="horizontal"> <item id="itmCB1a" label="1. Item"/> <item id="itmCB2b" label="2. Item"/> <item id="itmCB3c" label="3. Item"/> </comboBox> </bottomItems> </group> </firstColumn> </tab> <button id="btnFast1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/> </backstage> </customUI>
ComboBox:
Attribute: alignLabel, enabled, expand, id, idMso, idQ, keytip, label,
layout, sizeString, tag, visible
Callbacks: getEnabled, getItemCount, getItemID, getItemLabel, getKeytip,
getLabel, getText, getVisible, onChange
item:
Callbacks: getLabel
Sie finden dieses Beispiel auch in der Beispieldatenbank "Backstage View".