what is the Need of zorder method?

Answers were Sorted based on User's Feedback



what is the Need of zorder method?..

Answer / pravin s. ahire

Zorder method is used to 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.

e.g. In a one form,there are 2 picture boxes- 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 ?    0 Yes 0 No

what is the Need of zorder method?..

Answer / pankajbisane

Three graphical layers are associated with forms and
containers. The back layer is the drawing space where the
results of the graphics methods are displayed. Next is the
middle layer where graphical objects and Label controls are
displayed. The front layer is where all nongraphical
controls like Command Button, CheckBox, or ListBox are
displayed. Anything contained in a layer closer to the front
covers anything contained in the layer(s) behind it. ZOrder
arranges objects only within the layer where the object is
displayed.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

what is the Need of zorder method?

2 Answers  


Maximum Control Names length?

0 Answers  


what is the Difference between Listindex and Tab index?

1 Answers  


___ is a property to resize a label control according to your caption.

0 Answers  


Explain OLE Drag and Drop.

0 Answers  






what are the Differenct Types of Procedures in VB?

0 Answers  


____ property of menu cannot be set at run time.

0 Answers  


How do I get my application on top?

0 Answers  


what is the difference between vb and vb.net

2 Answers  


How do I implement an accelerator key for a text box?

0 Answers  


what component is used in vb to link to the database?

2 Answers   Satyam,


What are the differences between a standard module and a class module?

4 Answers  


Categories