What is the need of z-order method?

Answer Posted / bansi j popat

z-order is the stacking order for controls and you can set
control's z-orders with the zorder Method.
Places a Specified MDI form,form or control at the front or
back of the z-order within it's graphical level.
Syntax:Object.zorder position.

e.g Here in one form,2 picture boxes are there,picture1 &
picture2.In a form Picture2 is on top of picture1.When the
user clicks on the form,we can move picture1 to the top
with the zorder Method.

Private sub form_click
picture1.zorder 0
End sub

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is system windows forms dll?

533


Name the property which of menu cannot be set at run time?

655


Is typeform free?

512


how barcode print on the win form

2006


What are window based applications?

515






What are controls in windows forms?

521


How to show a ContextMenuStrip instead of cthe default ContextMenuStrip,when you rightclick on the non client area of a window's Form or when alt+space keys are pressed

1802


Explain the difference between listindex and tab index?

542


What is a windows forms application?

513


What is form and meaning?

481


Explain the difference between listbox and combo box?

500


How is anchoring different from docking?

592


Explain how to split a column header in gridview using c#.net?

546


Which property value of the helpnavigator property will display the index for a specified topic?

609


Which property of the errorprovider control automatically sets to the form to which?

546