Print Page | Close Window

Image Buttons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=16947
Printed Date: 26 April 2024 at 6:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Image Buttons
Posted By: MadTogger
Subject: Image Buttons
Date Posted: 13 July 2010 at 8:40am
Hi,

I have just noticed something that I would like a little help with.

On my application I have some buttons that have images on them :-
System.Drawing.Bitmap and they are FlatStyle: Standard.

Leaving them as is shows the image on the button but obviously there is no styling from the Skin.

If I change FlatStyle to System the buttons become styled with the Skin but the image does not show.

Is there a way to have both?

Kind regards..,

MT ;)

By the way I am using VS2010 C#

-------------

http://www.madtogger.co.uk - MadTogger - Personal Pages
http://twitter.com/MadTogger - Twitter - @MadTogger



Replies:
Posted By: Oleg
Date Posted: 14 July 2010 at 2:37am
Hi,

Maybe only one way to use our SuiteControl Psuh button :(

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: sos
Date Posted: 01 December 2010 at 3:35am
I am using Codejock 13.4.0 pushbutton control on my project (VB.NET 2005) and also using skinframework on it. The reason of using CJ Pushbutton is the need of an image on the button (The normal button loses the image when flatstyle is changed to system).

Problem: The CJ Pushbutton doesnt show the same default button color when tabbed to it (using keyboard). For example, when I use tab to go to the CJ Pushbutton, the skin (style) of the button doesnt change as it happens with the normal button (screenshot below).

Normal button (Button1) with tab stop: 

CJ Button (AxPushButton1) with tab stop:  

Images defined in skin file:
 

What do I need to do to get the same skin in AxPushButton1 (CJ Button) in tab stop condition as in Button1 (Normal Button)??


-------------
Shashank
Codejock SkinFramework/Controls v13.4.0
-------------------------------
No prizes for the right answer!!! :)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net