Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - VB.NET: Buttons showing Form's backcolor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VB.NET: Buttons showing Form's backcolor

 Post Reply Post Reply
Author
Message
bsil View Drop Down
Groupie
Groupie


Joined: 08 March 2010
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsil Quote  Post ReplyReply Direct Link To This Post Topic: VB.NET: Buttons showing Form's backcolor
    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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 07 April 2010 at 12:03pm
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)  
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.