StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
ThemedLinkMenuItem add support for disabled image....
ThemedLinkMenuItem add support for disabled image....
Post Reply
Like
1
ThemedLinkMenuItem add support for disabled image....
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Edhy Rijo
E
Edhy Rijo
posted 9 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Hi All,
I came up with a solution in the ActionLinkMenuItem.vb attached.
Since the ActionLinkMenuItem only support one Image via the ItemImage property, I added 2 properties:
ItemImageEnabled
ItemImageDisabled
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. See class file attached ActionLinkMenuItem.vb.txt and rename it to ActionLinkMenuItem.vb.
Enjoy!!!
Edhy Rijo
Attachments
ActionLinkMenuItem.vb.txt
(
103 views,
9.00 KB
)
Reply
Like
1
Edhy Rijo
E
Edhy Rijo
posted 10 Years Ago
ANSWER
Topic Details
Share Topic
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Hi Trent, Ben,
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.
I currently add a property named ItemImageDisabled, but I need to trap Enabled setting so I can set the image properly.
Have you guys added this kind of functionality to the ThemedLinkMenuItem.vb class?
Thanks!!!
Edhy Rijo
Edited
10 Years Ago by
Edhy Rijo
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search