GUI Divider without any components

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
2 posts Page 1 of 1
Contributors
User avatar
bisnes_niko
Serious Programmer
Serious Programmer
Posts: 409
Joined: Tue Aug 24, 2010 1:21 pm

Hello

I've been using this for many months, and deicided to share it with you.

First, make an Label. Then you change it's BorderStyle to 3D and AutoSize False.
If its vertical, you change it's height to 2. NOT 3, otherwise it will look fugly.
Incase its horizontal, change width to 2 and height to any.

To resize, hold CONTROL + SHIFT and arrow keys, because it is so small that you cant grap the resize arrow
To move, hold CONTROL + Any arrow key

Heres what you should get:

guidivider.PNG

In example 1, there are 2 labels
Label 1 for the name (Fake name ofcourse :P) and make it ENABLED = FALSE to make it look better
Label 2 is the splitter. Do what I said above


Incase you don't wanna use a label, you can use a GroupBox to make a thing look like this:
guidivider2.PNG

To make it look like that, I simply changed the location to -3, -3 from your from width and height

Incase you don't understand what I said heres the project files:
Divider Tutorial.rar
You do not have the required permissions to view the files attached to this post.
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

Wow :P Thats good.
Image
2 posts Page 1 of 1
Return to “Tutorials”