|
-
Nov 5th, 1999, 11:14 PM
#1
Thread Starter
Lively Member
Like the ones that seperate the Save, and Save As, from Print, and Print Preview in paint.
So how do I use them?
------------------
"I'm carrying a Geometry book, but I'm not in Geometry...it's crazy...crazy man!"
-
Nov 5th, 1999, 11:20 PM
#2
Guru
Create a menu item with the Menu Editor which you want to be a separator, and change its Caption to - (a single dash). VB will automatically make it a separator.
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
-
Nov 5th, 1999, 11:31 PM
#3
Thread Starter
Lively Member
Sweet.
Now how do I seperate the menu bar from the rest of the window using the same kind of line?
------------------
"I'm carrying a Geometry book, but I'm not in Geometry...it's crazy...crazy man!"
-
Nov 6th, 1999, 01:38 AM
#4
Guru
Create a Line control, name it Line1, set it's Index property to 0 (zero) and add this code:
Private Sub Form_Load()
Load Line1(1)
Line1(1).Visible = True
Line1(0).BorderColor = vbGrayText
Line1(1).BorderColor = vb3DHighlight
Call Form_Resize
End Sub
Private Sub Form_Resize()
Line1(0).X1 = 0
Line1(0).X2 = Width
Line1(0).Y1 = 0
Line1(0).Y2 = 0
Line1(1).X1 = 0
Line1(1).X2 = Width
Line1(1).Y1 = ScaleX(1, vbPixels, ScaleMode)
Line1(1).Y2 = ScaleX(1, vbPixels, ScaleMode)
End Sub
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|