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

Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.

571


What are the three states set in a checkstate property?

554


how print PGL by XML

2622


What is a fillable form?

516


What is difference between winforms and windows forms?

582






Which event occurs when a user drags an item in a treeview or listview control?

567


What are the forms of database?

533


What are window based applications?

527


Explain the difference between listindex and tab index?

548


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

554


What is the extension of the windows installer file?

581


which property is used to change to some value to access a identity column in datacontrols?

1678


Where to use new keyword other than create instance?

668


Name the template that is used to create a user-defined component.

521


What is a windows based application?

539