Link to home
Start Free TrialLog in
Avatar of I_jolly
I_jolly

asked on

Application Menu

I am currently looking to design a main menu for an application I am developing.  My idea is that all the main menu options will be visible whilst the program is running taking up approx 1\5 of the screen.  I want it to have the same feel as the Windows Start button but am open to different suggestions.  Could anyone point me in the right direction.  Thanks in advance for this very general question.

Iain
Avatar of vbyuval
vbyuval

1.You can creat an unvisible menu and a ConnamdButton .
  In the CommandButton you call to popup menu ...
  If you need same code commet me .

2.You can create a CommandButton and a Form with
  properties:   With=Command1.Width,Height=options*optioneight, if you
  want a static menu (not animated) Top =
  Command1.Top+Me.Height else Top = Command1.Top (but
  later you will have to change the Top property ) and  
  Visible=False,name=NewFormName .
  In the MouseOver event write :

  If (x<0) Or (y<0) Then
    Me.Hide
  End If

  On the form you should put your labels(the options) and write
  in each one of them in the MouseOver event :
 
  If (x>0) And (y>0) Then  
    BackColor=VBBlue
    ForeColor=VBWhite
  Else
    BackColor=VBGray
    ForeColor=VBBlack    
  End If

  And in the Click event write the command .

  In the CommandButton you write :
 
   NewFormName.show

                                                               Enjoy
                                                            Yuval Amir
                                                               
Avatar of I_jolly

ASKER

Thanks ..It's a good idea.

What I'm really looking for are comments so that I can select the best one.  I am currently using toggle buttons but they look naff.  I want something that's smooth and professional...
ASKER CERTIFIED SOLUTION
Avatar of vbyuval
vbyuval

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of I_jolly

ASKER

I was looking for suggestions so that I could select the best one - I didn't actually mean to reject the answer but delay until I had a choice and then test them all out.  The answer that you have given looks very good. Could you send a sample of the code - If I get it working I will accept the answer.

i_jolly@hotmail.com

Sorry for the confusion
Avatar of I_jolly

ASKER

Thanks.....Sorry for the delay.