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 difference between a Dynaset and Snapshot and how would you create one?

2 Answers  


How can you Navigate from the DHTML application to another DHTML application? .

0 Answers  


How do I mimic a toggle button?

0 Answers  


I get a "file not found" error on the IIF function when I distribute by program. Why?

0 Answers  


what are the types of Recordsets?

1 Answers   Wipro,






How would you run your ActiveX Document Dll?

0 Answers  


How would you define and use a Boolean in VB?

2 Answers   Asteroid Software Services, Microsoft,


Wat is multithreading in VB?

4 Answers  


What is the Windows API?

0 Answers  


What is the latest version of visual basic?

0 Answers  


What are binary and project compatibility?

1 Answers  


What do you mean by ADO?

1 Answers  


Categories