Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[ ♣Solved♣ ] How do I get a dropdown menu to become visi

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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

PostPosted: Wed Feb 20, 2008 2:32 pm    Post subject: [ ♣Solved♣ ] How do I get a dropdown menu to become visi Reply with quote

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?
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*



Last edited by I'm C.H. on Wed Feb 20, 2008 2:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
jason744
Grandmaster Cheater
Reputation: 0

Joined: 25 Nov 2007
Posts: 638

PostPosted: Wed Feb 20, 2008 2:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Feb 20, 2008 2:41 pm    Post subject: Reply with quote

Doesn't work. Still no dropdown menu.
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Feb 20, 2008 2:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Feb 20, 2008 2:44 pm    Post subject: Reply with quote

nvm. I saw what the problem was. It was hidden behind AxShockwaveFlash Embarassed
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
jason744
Grandmaster Cheater
Reputation: 0

Joined: 25 Nov 2007
Posts: 638

PostPosted: Wed Feb 20, 2008 2:45 pm    Post subject: Reply with quote

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 Laughing
Back to top
View user's profile Send private message
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Feb 20, 2008 2:54 pm    Post subject: Reply with quote

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?

_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Feb 20, 2008 2:57 pm    Post subject: Reply with quote

Code:
If Item.Checked = False Then
Item.Checked = True
Else
Item.Checked = False
End If

Try that

_________________
Back to top
View user's profile Send private message
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Feb 20, 2008 2:59 pm    Post subject: Reply with quote

Shall I put that in the Item Click Function?
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
jason744
Grandmaster Cheater
Reputation: 0

Joined: 25 Nov 2007
Posts: 638

PostPosted: Wed Feb 20, 2008 3:00 pm    Post subject: Reply with quote

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 Crying or Very sad Laughing

Anyway, To Cheating's last post: Yes. Click Event.
Back to top
View user's profile Send private message
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Feb 20, 2008 3:05 pm    Post subject: Reply with quote

Worked. Thanks.
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites