VB.NET: Buttons showing Form's backcolor |
Post Reply |
Author | |
bsil
Groupie Joined: 08 March 2010 Status: Offline Points: 21 |
Post Options
Thanks(0)
Posted: 26 March 2010 at 6:43am |
Using Codejock version 13.3.1
for Application: VB.Net 2.0, WinXp platform
We are getting form's backcolor on all the four corners of the buttons. We have checked that the image has transparent background and the skin works well with VC and VB6.0 applications. Below is the snapshot:
Can you please resolve the issue or suggest some workaround?
|
|
Product: Xtreme SkinFramework
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0, Visual C++ 6.0, VB.NET 2.0 |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Maybe you need something similar to this:
Protected Overloads Overrides Sub OnVisibleChanged(ByVal e As EventArgs) MyBase.OnVisibleChanged(e) If Me.Visible Then SkinFramework.ApplyWindow(Me.Handle.ToInt32()) SkinFramework.EnableThemeDialogTexture(Me.tabPage1.Handle.ToInt32(), 6) Me.BackColor = SkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE) SkinFramework.ApplyWindow(TabPage3.Handle.ToInt32()) SkinFramework.EnableThemeDialogTexture(TabPage3.Handle.ToInt32(), 6) End If End Sub Would likely need this for each tab page when selected index changes. SkinFramework.ApplyWindow(TabPage3.Handle.ToInt32()) SkinFramework.EnableThemeDialogTexture(TabPage3.Handle.ToInt32(), 6) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |