D
David Thielen
I have the following in my customui.xml:
<gallery columns="3"
id="WR_TAG_GALLERY" getEnabled="IsEditableButtonVisible"
onAction="RxTagGalleryType" getSelectedItemID="RxGetGalleryTagOnId"
image="element_add.png" itemHeight="32" itemWidth="32" label="Tags"
size="large" rows="7"
screentip="Insert or change a tag" supertip="If the caret is not on a
tag, insert this tag type.\nIf the caret is on a tag, change the tag
type.">
<item id="WR_TAG_OUT"
image="note_edit.png" label="Out" screentip="Insert data at this
location." supertip="This can be text, an imported template, or an
image." />
And the code:
public string RxGetGalleryTagOnId(IRibbonControl
control)
{
return "WR_TAG_OUT";
}
This gives me an error. Why?
I also tried returning null & "" (for nothing selected) - it didn't
like those either. How do I tell it nothing is selected?
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm
<gallery columns="3"
id="WR_TAG_GALLERY" getEnabled="IsEditableButtonVisible"
onAction="RxTagGalleryType" getSelectedItemID="RxGetGalleryTagOnId"
image="element_add.png" itemHeight="32" itemWidth="32" label="Tags"
size="large" rows="7"
screentip="Insert or change a tag" supertip="If the caret is not on a
tag, insert this tag type.\nIf the caret is on a tag, change the tag
type.">
<item id="WR_TAG_OUT"
image="note_edit.png" label="Out" screentip="Insert data at this
location." supertip="This can be text, an imported template, or an
image." />
And the code:
public string RxGetGalleryTagOnId(IRibbonControl
control)
{
return "WR_TAG_OUT";
}
This gives me an error. Why?
I also tried returning null & "" (for nothing selected) - it didn't
like those either. How do I tell it nothing is selected?
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm