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

What are windows applications?

574


Suppose I am implementing one windows form. I am inserting some values into ms access. In that table 5 columns there. But I want to insert three columns only. When I am clicking another button then other two values also insert into that table?

642


What is form technology?

618


Which of the following position is the default docking position of the statusstrip control on the form?

676


Explain something about crystal report in brief?

624






What is the difference between a document and a form?

645


Explain how to get records from a database?

746


Explain how to split a column header in gridview using c#.net?

648


What is formdata?

647


What is the difference between desktop application and windows application?

590


What is the use of play() playlooping() functions?

723


How many navigational features are provided by visual studio.net ide?

704


Name the property which is used to specify the source from where the crystal reports would be accessed.

639


Explain the difference between listindex and tab index?

627


How many types of dialog boxes windows provides?

668