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 dao in vb?

0 Answers  


___ VB constant make the menu item in centre.

0 Answers  


What is the difference between creating a object using New and CreateObject in Visual Basic?

1 Answers  


what is the difference between ADO and RDO in vb

3 Answers  


How do I implement an incremental search in list/dir/combo/file boxes?

0 Answers  






To populate a single column value which dbcontrols you to use?

0 Answers  


How can we find out that a recordset is blank (without using recordcount property)?

4 Answers  


What is form in visual basic?

0 Answers  


wat is excel

4 Answers   Kingfisher,


Explain the working with task in Gantt chart view.

0 Answers  


what are the Types of LockEdits in RDO?

0 Answers  


What is datagrid in vb net?

0 Answers  


Categories