Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Z-Order cannot work between Box & ControlHost (Read 1392 times)
LongRunner
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Nov 27th, 2006
Z-Order cannot work between Box & ControlHost
Nov 29th, 2006 at 1:32am
Print Post  
Hi,

I created a ControlHost and Box. I found that Box cannot overrlap the ControlHost although i set the Z-Index.

private void button1_Click(object sender, System.EventArgs e)
{
ControlHost ch = this.fc.CreateControlHost(0, 0, 200, 200);

TabControl tab = new TabControl();
tab.TabPages.Add(new TabPage());
tab.TabPages.Add(new TabPage());
ch.Control = tab;
}

private void button2_Click(object sender, System.EventArgs e)
{
Box box = this.fc.CreateBox(200, 0, 200, 200);

box.Text = "Testing";
box.ZTop();
}


How can i fix this problem? Please give me a suggestion. Thanks a lot.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Z-Order cannot work between Box & ControlH
Reply #1 - Nov 29th, 2006 at 6:00am
Print Post  
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint