| View previous topic :: View next topic |
| Author |
Message |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Wed Feb 20, 2008 2:32 pm Post subject: [ ♣Solved♣ ] How do I get a dropdown menu to become visi |
|
|
Well I've tried using MenuStrip and ContextMenuStrip but none of them was visible when I tested the trainer. Which one is a dropdown menu? _________________
Last edited by I'm C.H. on Wed Feb 20, 2008 2:46 pm; edited 1 time in total |
|
| Back to top |
|
 |
jason744 Grandmaster Cheater
Reputation: 0
Joined: 25 Nov 2007 Posts: 638
|
Posted: Wed Feb 20, 2008 2:34 pm Post subject: |
|
|
If its VB check if its visible, then try
| Code: |
Private Sub Form1_Load
WhatEverObject.Visible = True
End Sub |
I think the dropdownmenu is the one from toolstrip.
Haven used VB in ages, sudying c#. |
|
| Back to top |
|
 |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Wed Feb 20, 2008 2:41 pm Post subject: |
|
|
Doesn't work. Still no dropdown menu. _________________
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Wed Feb 20, 2008 2:42 pm Post subject: |
|
|
MenuStrip works, just fill in the boxes with what you want it to be, so first make a menu item, then put items under the branch.
Also make sure the visible property is set to true. _________________
|
|
| Back to top |
|
 |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Wed Feb 20, 2008 2:44 pm Post subject: |
|
|
nvm. I saw what the problem was. It was hidden behind AxShockwaveFlash  _________________
|
|
| Back to top |
|
 |
jason744 Grandmaster Cheater
Reputation: 0
Joined: 25 Nov 2007 Posts: 638
|
Posted: Wed Feb 20, 2008 2:45 pm Post subject: |
|
|
Try using a timer.
Private Sub Timer1_Tick(As...............System........Blah Blah you know)
Object.Visible = True
End Sub
Or
If Object.Visible = False
Then Object.Visible = True
Edit: Lawl saw your post  |
|
| Back to top |
|
 |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Wed Feb 20, 2008 2:54 pm Post subject: |
|
|
Lol. Pretty nooby "un-discovered error". Btw, Offtopic but what the heck, How do I make so that when the menu item is clicked, it gets checked but when it gets clicked again, it will get un-checked? First I know it's | Code: | | BlahBlahToolStripMenuItem.Checked = True |
What's Next? _________________
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Wed Feb 20, 2008 2:57 pm Post subject: |
|
|
| Code: | If Item.Checked = False Then
Item.Checked = True
Else
Item.Checked = False
End If |
Try that _________________
|
|
| Back to top |
|
 |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Wed Feb 20, 2008 2:59 pm Post subject: |
|
|
Shall I put that in the Item Click Function? _________________
|
|
| Back to top |
|
 |
jason744 Grandmaster Cheater
Reputation: 0
Joined: 25 Nov 2007 Posts: 638
|
Posted: Wed Feb 20, 2008 3:00 pm Post subject: |
|
|
Private Sub MenuObject_Click (YadaYada)
If Me.Check = True
Then Me.Check = False
Else Me.Check = True
End Sub
I think thats it.
Edit: I always get beaten to something
Anyway, To Cheating's last post: Yes. Click Event. |
|
| Back to top |
|
 |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Wed Feb 20, 2008 3:05 pm Post subject: |
|
|
Worked. Thanks. _________________
|
|
| Back to top |
|
 |
|