by king (24 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 23rd December 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Teaches you how to make your own menu
API Declarations
just follow these easy steps
two forms
step 1
on form1 write a text on it use a label control to do that such as file
step 2
add another form an make it small add another label control to it and
write anything you wish
step 3
in form1 where you have write the text double click on it and write this
code
Private Sub Label1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Form2.Show
End Sub
add another code on the form1 unload event
Private Sub Form_Unload(Cancel As Integer)
Form2.Hide
End Sub
step 4
on form2 where you have write the label text double click on it
and write the following code
Private Sub Form_Click()
Label1.ForeColor = vbWhite
End Sub
Private Sub Label1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.ForeColor = vbRed
End Sub
ok now run your application
easy rite
If you wabt to find more of these applications you can visit my website which is still in progress but soon i will update it ill tell u
Or you can email me at [email protected] and ask me anything you dont understand . you are always welcome to ask questions
In my next script ill tell you how to make roll over menus