I am trying to create a backstage tab that will display both basic executable controls and an advanced form control. An example is the MS Word backstage "Open" command which contains controls in the first column that that display and configure the secondcolumn e.g., "Recent" and a control "Browse" which simply executes and displays a dialog.
Here is my XML:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" ><backstage><tab id="tabCustomNew" insertAfterMso="TabInfo" label="New (Classic)" firstColumnMaxWidth="300"><firstColumn ><taskFormGroup id="tskFormGrp1" label="Tasks"><category id="cat1" label="Basic" ><task id="tskBasic" label="Runs Macro"><!--I simply want this command to hide the second column and execute an action. How do I control the width of the task control?--></task></category><category id="cat2" label="Advanced" ><task id="tskAdvance" label="Show Advanced Controls" imageMso="HappyFace"><group id="grp1" label="Normal" helperText="This is the Normal style" style="normal"><topItems><labelControl id="lbl1" label="Top Items"/><button id="btnForm1" label="Button 1"/></topItems><bottomItems><labelControl id="lblInForm2" label="Bottom Items"/><button id="btnForm2" label="Button 1"/><button id="btnForm3" label="Button 2"/></bottomItems></group><group id="grp2" label="Warning" helperText="This is the Warning style" style="warning"/><group id="grp3" label="Error" helperText="This is the Error styls" style="error"/></task></category></taskFormGroup></firstColumn></tab></backstage></customUI>
This is what it produces:
I simply can't find any combination of XML that allows both a TaskForm and a basic command control in the first column. Thanks for any assistance/guidance provided.
Greg Maxey Please visit my website at: http://gregmaxey.mvps.org/word_tips.htm