z-index order

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

in c# windows application i add buttons(different location and size) on panel.but some buttons disappear.i want to set z-order ascending.like 1st button z-order 1 and next button 2 ....but i cant set this property.instead of it i use bringtofront(), but it doesnt work what i want.how can i solve this problem,thanks
 
Hi,

Did you actually add buttons to panel.Controls collection?

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

saato said:
in c# windows application i add buttons(different location and size) on
panel.but some buttons disappear.i want to set z-order ascending.like 1st
button z-order 1 and next button 2 ....but i cant set this property.instead
of it i use bringtofront(), but it doesnt work what i want.how can i solve
this problem,thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top