Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > .NET WinForms
  New Posts New Posts RSS Feed - Problems in Using skinframework in VB2005
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedProblems in Using skinframework in VB2005

 Post Reply Post Reply
Author
Message
Jack.Lau View Drop Down
Groupie
Groupie


Joined: 13 January 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jack.Lau Quote  Post ReplyReply Direct Link To This Post Topic: Problems in Using skinframework in VB2005
    Posted: 13 January 2010 at 7:29am
hi:
   I am trying to use the skinframework in Visual Basic(VS2005). But it looks it didn't work well.
   I created a MDI project, and created several forms and child forms. the MDI form and all the
xtreme controls could be skined, but the other forms and all the child forms of the MDI form
couldn't be skined.
  why?....
  I want to know if there is any way to solve this problem.
  thks for your help.
 
Jack
 
Back to Top
Jack.Lau View Drop Down
Groupie
Groupie


Joined: 13 January 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jack.Lau Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2010 at 8:11pm
Is there anyone else meet the same questions.
pls help me.
tks.
Back to Top
VladimirKh View Drop Down
Moderator Group
Moderator Group


Joined: 20 July 2009
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote VladimirKh Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2010 at 10:48am
Hi
The subject of this branch is NET WinForms controls.
Are you talking about WinForms controls or ActiveX controls in MDI VB.NET?
I tried to reproduce your problem in NET WinForms C# MDI project under VS2005 (Samples\ReportControl.ReportPerformanceTest).
I could successfully change Theme in ReportControl control in a child window.
Please send your test project if you want us to reproduce your problem and find the reason for this behavior.

Regards
Vladimir
Back to Top
Jack.Lau View Drop Down
Groupie
Groupie


Joined: 13 January 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jack.Lau Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2010 at 10:59pm

Hi Vladimir:

   tks for your reply. 
   this a demo prj.
   wish your idea.
   tks.
 
fyi...
 

Visual Studio 2005 8.0.50727.42

Visual Basic Project

.net framework 2.0.50727

Codejock13.2.1

 

Problems List:

1.    Skinframwork couldn’t skin all the other forms except the MDI.

2.    comandbars problem: windows list shows only the last mdi-child

(only when there is/are codejack controls in the form, if no codejock

Controls in the form(s), it’s ok)

3.    Docking panel problem: the panels attached wins aren’t in the panels.

->first view, the wins not in the panels

   -> hide-review , it’s right in the panel
 
  more information , pls refer to the documents and prj files uploaded as follows:
  uploads/20100121_225518_Problems_with_c.rar
  uploads/20100121_225747_Project1.NET.rar
  
jack  
Back to Top
Jack.Lau View Drop Down
Groupie
Groupie


Joined: 13 January 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jack.Lau Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2010 at 11:12pm

ahaha.

i used activex.
can it be used for VB.net?
i find that in your products list that there are winforms controls and activex.
and it seems  that  it's different.
was  i made a mistake that the activex can't be used in VB.net prj,wasn't  it?
i was mazed.
 
Back to Top
Jack.Lau View Drop Down
Groupie
Groupie


Joined: 13 January 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jack.Lau Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2010 at 11:13pm

because in winforms controls there are no skinframwwork controls and some other controls.

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: 01 February 2010 at 9:24am
Hello,

With .NET languages you have to manually apply skin for each toplevel window.

Just add these lines

  protected override void OnVisibleChanged(EventArgs e)
  {
   base.OnVisibleChanged(e);

   if (this.Visible)
   {
    frmMain.skinFramework.ApplyWindow(this.Handle.ToInt32());
    this.BackColor = skinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);
   }
  }
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: 01 February 2010 at 5:48pm
Did this solve your problem?
Back to Top
Jack.Lau View Drop Down
Groupie
Groupie


Joined: 13 January 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jack.Lau Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2010 at 9:57pm
yes,  i had already got it.  though, tks you very much, beauty SuperMario.
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.125 seconds.