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
 
Back
Top