dialogBoxLauncher

Contains the dialog launcher for a group.
A group can only contain one dialog launcher control.
This control must contain a button and must appear as the last element in the group.

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> 
  <ribbon startFromScratch="true">
    <tabs>
      <tab id="CustomTab" label="My Tab">
        <group id="Group1" label="MyGroup">
          <button id="button1"
                  label="Large Button"
                  imageMso="HappyFace"
                  size="large"/>
          <dialogBoxLauncher>
            <button id="MyDialogBoxLauncher"
                    screentip="Dialog Box Launcher"
                    onAction = "DialogBoxLauncher_OnAction"/>
          </dialogBoxLauncher>
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>

Attributes (properties)

enabled"true" | "false"
id 
idMso 
keytip 
label 
onAction"macro"
screentip 
showLabel"true" | "false"
size 
supertip 
tag 
visible"true" | "false"

Callbacks (run-time)

onActionDialogBoxLauncher_OnAction
getEnabled 


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext