Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Frame and label box how to bring to front


Frame and label box how to bring to front

Author
Message
l33tsk33t
l33tsk33t
Forum God
Forum God (447 reputation)Forum God (447 reputation)Forum God (447 reputation)Forum God (447 reputation)Forum God (447 reputation)Forum God (447 reputation)Forum God (447 reputation)Forum God (447 reputation)Forum God (447 reputation)

Group: Forum Members
Posts: 1, Visits: 2
Hello there i would appreciate it if anyone can help me out.

I can seem to be able to figure out how to bring a label box to the front of a frame if you could tell me how that be great thx.

waynespangler
waynespangler
Forum God
Forum God (95K reputation)Forum God (95K reputation)Forum God (95K reputation)Forum God (95K reputation)Forum God (95K reputation)Forum God (95K reputation)Forum God (95K reputation)Forum God (95K reputation)Forum God (95K reputation)

Group: Forum Members
Posts: 910, Visits: 5.4K
You can't. You can bring it to the front of an image control but not anything that can get the focus. A label can't get the focus.

Wayne

I know enough to be dangerious.

It is hard to understand how a cemetery can raise its burial rates and blame it on the cost of living.

Keithuk
Keithuk
Forum God
Forum God (291K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Welcome to A1vbcode l33tsk33t.

l33tsk33t (5/29/2008)
Hello there i would appreciate it if anyone can help me out.

I can seem to be able to figure out how to bring a label box to the front of a frame if you could tell me how that be great thx.

Thats because you haven't loaded the Label on to the Form correctly. Don't just double-click controls in your Toolbox this will just put the control in the centre of the Form, this maybe behind other controls. Click on the control you want to use so the icon is depressed then just draw it with you mouse in the position you want it on your Form. If you draw it in a Frame then it will stop inside the Frame even if you move your Frame around the Form.

There is also a function that you could use with controls its called ZOrder. The ZOrder brings it to the front or back of other controls. Wink

Object.ZOrder 1 bring to front of other controls

Object.ZOrder 0 send to back of other controls

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

PyrusBoy
PyrusBoy
Forum God
Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)

Group: Forum Members
Posts: 2, Visits: 2
Hi, I am using VB 2010 Express having had to change after upgrading to win7.  I have a problem just about the same, I have written a program which runs well, but being a twiddler I decided to put a Verticle Progress Bar behind some labels. When I put this in place it hid the labels. I tried to add your a row  "Object.ZOrder 0" to the properties of the Verticle progress bar, but it told me that ZOrder is not a member of "Object". Any further help would be most welcome.
PyrusBoy
PyrusBoy
Forum God
Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)Forum God (854 reputation)

Group: Forum Members
Posts: 2, Visits: 2
Hi, No problem now, just decided to right click on the item, then saw I could sent to back.

Pyrus Boy

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search