Print Page | Close Window

Problems in Using skinframework in VB2005

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: .NET WinForms
Forum Description: Topics related to Codejock .NET Windows Forms products
URL: http://forum.codejock.com/forum_posts.asp?TID=15996
Printed Date: 24 November 2024 at 5:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problems in Using skinframework in VB2005
Posted By: Jack.Lau
Subject: Problems in Using skinframework in VB2005
Date 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
 



Replies:
Posted By: Jack.Lau
Date Posted: 13 January 2010 at 8:11pm
Is there anyone else meet the same questions.
pls help me.
tks.


Posted By: VladimirKh
Date 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


Posted By: Jack.Lau
Date 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  


Posted By: Jack.Lau
Date 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.
 


Posted By: Jack.Lau
Date Posted: 21 January 2010 at 11:13pm

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



Posted By: SuperMario
Date 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);
   }
  }


Posted By: SuperMario
Date Posted: 01 February 2010 at 5:48pm
Did this solve your problem?


Posted By: Jack.Lau
Date Posted: 01 February 2010 at 9:57pm
yes,  i had already got it.  though, tks you very much, beauty SuperMario.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net