Print Page | Close Window

command button with picture

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=6448
Printed Date: 15 November 2024 at 4:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: command button with picture
Posted By: mehdi0016
Subject: command button with picture
Date Posted: 18 February 2007 at 5:55pm
hi
is there any command button which support SkinFramework and also have picture or icon property ?
also i need a skinnable multi-column combo box ?
thanx

-------------
):)



Replies:
Posted By: Oleg
Date Posted: 20 February 2007 at 2:50am
Hi,
We are preparing it for next release.


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


Posted By: Source
Date Posted: 22 February 2007 at 5:31am

If possible include also an edit control (with mask edit) similar with the one existing in the controls suite. It will be great!

Thanks. Regards.
Carlos Neves


Posted By: wqweto
Date Posted: 09 April 2007 at 11:47am
Originally posted by mehdi0016 mehdi0016 wrote:

hi
is there any command button which support SkinFramework and also have picture or icon property ?
also i need a skinnable multi-column combo box ?
thanx

I'm using a modified version of Edanmo's http://www.mvps.org/emorcillo/en/code/vb6/graphicalbuttonxp.shtml - Using XP Visual Style in Graphical buttons but only the original XP skin is applied.

Is it possible to use current custom skin in some way? I suppose an hTheme handle would be enough for XP and above systems. Don't know how you're dealing with 9x and NT though.

Kudos for the uber-hacks the skin control is doing! I personally would never dare such a massive API hooking :-))

cheers,
</wqw>


Posted By: Oleg
Date Posted: 10 April 2007 at 12:14am
Hi,
 
With 11.1 we added PushButton with support winXP themes/SkinFramework, please wait a little, it will be really soon.


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


Posted By: apuhjee
Date Posted: 18 April 2007 at 11:38am
I notice that the "focus" look of PushButton does not match that of a native button + skin. Is this something that's going to be fixed in the future?

Regards ~ jp



Posted By: Oleg
Date Posted: 18 April 2007 at 3:19pm

Hi,

this is not "focus" this is mark that button is "default". In Visual Basic there is way to automatically set button as default when it become focused (try same sample with VB6) in .NET activeX object can't be defaulted automatically:

try workaround code:
 

private void axPushButton1_Enter(object sender, System.EventArgs e)

{

axPushButton1.Default = true;

}

private void axPushButton1_Leave(object sender, System.EventArgs e)

{

axPushButton1.Default = false;

}



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


Posted By: apuhjee
Date Posted: 19 April 2007 at 9:47am
Thanks Oleg -
This code cures 1/2 of the problem. Is there a way to prevent the dashed line from appearing in the button? It's evoking memories of Petzold and 3.1 :)

Regards ~ jp




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