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

Which method grants a lock on a resource?

577


Explain how to add resources during runtime?

609


What is a windows form application?

539


What is a windows based application?

539


What is form record?

538






What are the properties of datacontrol?

2033


What is the difference between desktop application and windows application?

491


How to create a set up in vb.net for desktop application please say steps with examples?

531


Suppose I have two combobox .. And I have some items in both combobox now I need to check the item in both combobox if same item is present in both combobox I need to display that item in message box?

584


What are the advantages of form?

521


Which dialog box allows users to switch to another area of the application?

571


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

721


Which window allows viewing the resources of the servers, such as services, processes and the event log?

598


How to get records from a database?

595


What is the difference between the add() and insert() methods of a listbox control?

588