"The Shape control is a graphical control" so you can never show it over a textbox or other nongraphical control. However a PictireBox is a nongraphical control so if you put the ShapeControl inside the PictireBox then you can use Zorder to put the PictureBox over other nongraphical controls.
See ZORDER method.
"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."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.