﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » ThemedLinkMenuItem add support for disabled image....</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 23:46:23 GMT</lastBuildDate><ttl>20</ttl><item><title>ThemedLinkMenuItem add support for disabled image....</title><link>http://forum.strataframe.net/FindPost32792.aspx</link><description>Hi Trent, Ben,&lt;br/&gt;&lt;br/&gt;I am using the ActionLinkMenuItem.vb from the StrataFlix sample application and would like to know what would be your recommendations so I can add support for a disabled image, so when the ThemeLinkMenuItem is Enabled=False, it can show another image.&lt;br/&gt;&lt;br/&gt;I currently add a property named ItemImageDisabled, but I need to trap Enabled setting so I can set the image properly.&lt;br/&gt;&lt;br/&gt;Have you guys added this kind&amp;nbsp; of functionality to the ThemedLinkMenuItem.vb class?&lt;br/&gt;&lt;br/&gt;&lt;font face="Courier New"&gt;Thanks!!!&lt;/font&gt;&lt;br/&gt;&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl01_lblFullMessage"&gt;&lt;font face="Courier New"&gt;&lt;span class="shl"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;</description><pubDate>Sun, 04 Jan 2015 22:46:40 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: ThemedLinkMenuItem add support for disabled image....</title><link>http://forum.strataframe.net/FindPost32799.aspx</link><description>Hi All,&lt;br/&gt;&lt;br/&gt;I came up with a solution in the ActionLinkMenuItem.vb attached.&lt;br/&gt;&lt;br/&gt;Since the ActionLinkMenuItem only support one Image via the ItemImage property, I added 2 properties:&lt;ul&gt;&lt;li&gt;ItemImageEnabled&lt;/li&gt;&lt;li&gt;ItemImageDisabled&lt;/li&gt;&lt;/ul&gt;Then in the Enabled() property added code to use my own images to default items I used in all my forms, then assigned the Enabled/Disable image based on the state.&amp;nbsp; See class file attached ActionLinkMenuItem.vb.txt and rename it to ActionLinkMenuItem.vb.&lt;br/&gt;&lt;br/&gt;Enjoy!!!</description><pubDate>Sun, 04 Jan 2015 22:46:40 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>