how to set background colors? |
Post Reply |
Author | |
michelsim
Newbie Joined: 14 October 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
same problem here.
but put textbox in picturebox and it works ok. |
|
ExtremeSuitePro 12.1.1
WinXP SP3 |
|
michelsim
Newbie Joined: 14 October 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
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 |
|
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 |