Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A ZOrder problem

Status
Not open for further replies.

EricsonJ

Programmer
Mar 3, 2002
44
US
I have created some ActiveX controls in my program, and I use them and VB standard controls together in my program. The problem is: I cannot put the standard VB controls above my ActiveX control, even if I use such code as: Label1.zorder 0.


 
from MSDN:

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 CommandButton, 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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top