Tech Support > Microsoft Windows > Windows CRM > ISV Button Show both text and Icon in 4.0
ISV Button Show both text and Icon in 4.0
Posted by Wes Weeks on May 19th, 2008


I'm modifying the ISV.config to show a toolbar button. I want it to show
both the Icon and the Title text. Here is what the ISV.config section for
this looks like:

<Button Icon="/_imgs/111.gif" Url="http://www.customcrm.com/Custom.aspx"
PassParams="1" WinParams="height=200,width=300," WinMode="0">
<Titles>
<Title LCID="1033" Text="Claim Form Document" />
</Titles>
<ToolTips>
<ToolTip LCID="1033" Text="Claim Form Document" />
</ToolTips>
</Button>

Basically, it will show either the Icon or the Title text but not both. If
I remove the Icon attribute it shows the title text. If I leave it in, it
shows only the Icon. The tooltip works fine.

Shouldn't it be showing both? I don't have a 3.0 install to play with at
the moment but I thought 3.0 did both just fine, or is there something else I
need to do?

Posted by Darren Liu on May 19th, 2008


It's showing both on my CRM 4.0 application.

<Button Icon="/_imgs/ico_18_debug.gif" Url="http://
www.microsoft.com" PassParams="1" WinParams="" WinMode="0">
<Titles>
<Title LCID="1033" Text="asdf" />
</Titles>
<ToolTips>
<ToolTip LCID="1033" Text="Info on Test" />
</ToolTips>
</Button>

Darren Liu, Microsoft CRM MVP
Crowe
http://www.crowecrm.com

On May 19, 3:49*pm, Wes Weeks <WesWe...@discussions.microsoft.com>
wrote:

Posted by Wes Weeks on May 19th, 2008


Found the cause. Looks like CRM will automatically remove the text if it is
constrained on space in the toolbar. I had six buttons, when I removed all
but one the text showed up.

Thanks for your quick response.

"Darren Liu" wrote:


Similar Posts