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 


VB08 MenuStrip Question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Angemon102
Master Cheater
Reputation: 0

Joined: 08 Sep 2007
Posts: 408
Location: Karachi

PostPosted: Sun Apr 27, 2008 8:46 am    Post subject: VB08 MenuStrip Question Reply with quote

OK... Here is what I wanna do...
"KillToolStripMenuItem" is the name of a MenuStrip... Upon it being clicked (KillToolStripMenuItem_Click) this should happen...

Code:
KillToolStripMenuItem.CheckState = CheckState.Checked

AND
All the other MenuItems/Options in the drop down menu, should be like CheckState.Unchecked in one line of code so that I don't have to manually take down the names of ALL the items and make them CheckState.Unchecked

Thank you.

_________________
XHale wrote:
Angemon102 = cool


TO DO LIST:
1) Finish and Release that God forsaken trainer
2) Update the updated VB6 Tutorial
3) Learn AAS
4) Do homework...... Damn!
Back to top
View user's profile Send private message
Estx
Expert Cheater
Reputation: 0

Joined: 04 Mar 2008
Posts: 172

PostPosted: Sun Apr 27, 2008 10:50 am    Post subject: Reply with quote

You will have to make a loop, or as you said un-check each of them manually.
Create a void func. that will uncheck them for you, and then call it when needed.

There is no other way with MenuStrip / ToolStrip.
Back to top
View user's profile Send private message
XxOsirisxX
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Oct 2006
Posts: 1597

PostPosted: Sun Apr 27, 2008 11:38 am    Post subject: Reply with quote

can't think in anything else than

Code:
MenuStrip1.Enabled = False

_________________

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