by SHOAIBKHALIL/D.I.T PART-II (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 18th May 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
'IN THIS PROGRAM I HAVE CREATED MENU COLORS THROUGH *'MENU EDITOR'* AND SUB MENUS ARE Red,Green,Cyan,Orange,Yellow,Blue. THE NAMES FOR COLORS
API Declarations
********NONE******
Private Sub r_Click()
Form1.BackColor=vbRed
End Sub
'Open the Green Sub Menu
Private Sub g_Click()
Form1.BackColor=vbGreen
End Sub
'Open the Cyan Sub Menu
Private Sub c_Click()
Form1.BackColor=vbCyan
End Sub
'Open the Orange Sub Menu
Private Sub o_Click()
Form1.BackColor=vbOrange
End Sub
'Open the Yellow Sub Menu
Private Sub y_Click()
Form1.BackColor=vbYellow
End Sub
'Open the Blue Sub Menu
Private Sub b_Click()
Form1.BackColor=vbBlue
End Sub
***NOTE*** In the run time when you click Red Sub Menu then Backcolor of the form will become Red OR When you press ctrl+r in the run time of the program then it will change the backcolor of the form to Red.*****
No comments have been posted about 'IN THIS PROGRAM I HAVE CREATED MENU COLORS THROUGH *'MENU EDITOR'* AND SUB MENUS ARE Red,Green,Cya. Why not be the first to post a comment about 'IN THIS PROGRAM I HAVE CREATED MENU COLORS THROUGH *'MENU EDITOR'* AND SUB MENUS ARE Red,Green,Cya.