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

How do I get the number of free bytes on a disk?

0 Answers  


When Activex exe is benificial in vb application

1 Answers   TCS,


what is the Max size allowed for label caption length?

2 Answers  


Define the scope of Public, Private, Friend procedures?

1 Answers  


Parts of ODBC?

0 Answers  


Difference between Recordset and Querydef?

2 Answers   3i Infotech, IBM, TCS,


Name and define the logical tiers in a traditional 3-tiered architecture?

1 Answers  


What is a datacontrol?

1 Answers  


How to find size of the file. Which method or function is used to occomplish this?

1 Answers  


What are binary and project compatibility?

1 Answers  


How many ways we can access file using VB?

0 Answers  


What is the difference between a Dynaset and Snapshot and how would you create one?

2 Answers  


Categories