Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - how to set background colors?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to set background colors?

 Post Reply Post Reply
Author
Message
michelsim View Drop Down
Newbie
Newbie


Joined: 14 October 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote michelsim Quote  Post ReplyReply Direct Link To This Post Topic: how to set background colors?
    Posted: 14 October 2009 at 10:12am
I am trying to use codejock skincontrols 13.1 in combination with commandbars 13.1. However, since we use the skin (WinXP.Royale.cjstyles for example), the background of for example a textbox is white.

The problem is, that when you try and set the background color of the textbox from code (e.g. textbox1.backcolor=vbred), the background color remains white.

Is there any way to make a textbox skinned, but still gives the application control over the background color?

edit: i just tested, and codejock v12.0.2 did give the programmer control over the background color of textboxes and option boxes. It appears to be a newly introduced bug in the ocx.

Michel
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2009 at 5:39am
Hi,
 
Strange - I just created new project and added standard Textbox + our FlatEdit with such code
 
Private Sub Form_Load()
SkinFramework1.LoadSkin "c:\Source\SVN\Trunk\ToolkitPro\Source\SkinFramework\Styles\Office2007.cjstyles", ""
SkinFramework1.ApplyWindow Me.hWnd
Text1.BackColor = vbRed
FlatEdit1.BackColor = vbRed
End Sub
 
all work fine for me. Please try with new project too.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2009 at 11:35am
same problem here.

but put textbox in picturebox and it works ok.
ExtremeSuitePro 12.1.1
WinXP SP3
Back to Top
michelsim View Drop Down
Newbie
Newbie


Joined: 14 October 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote michelsim Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2009 at 5:18am
Originally posted by ijwelch ijwelch wrote:

same problem here.

but put textbox in picturebox and it works ok.

That's a bit impracticable if you are dealing with hundreds of forms...

It's strange oleq can't reproduce the issue. Are you sure you added a commandbars to the form as well?

We wiped v.13 from our systems and reverted back to v12 so the problem is solved for us for now.

Michel
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.172 seconds.