Aqua-Soft Forums: Checking a menu item in VB - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Checking a menu item in VB Rate Topic: -----

#1 User is offline   abastien Icon

  • Group: Member
  • Posts: 2
  • Joined: 14-October 06

Posted 03 January 2007 - 06:45 PM

How do I check a menu item in VB script?

Here are the menus.








I'd like to check and uncheck "Show Symbol".

Thanks
0

#2 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 04 January 2007 - 01:52 PM

if you look at OS Volume you'll see how its done.

Basically in your code, all you need to do is say.

Menus(0).SubMenu(2).Checked = true

2 is the "index position" of the menu entry
0

#3 User is offline   abastien Icon

  • Group: Member
  • Posts: 2
  • Joined: 14-October 06

Posted 04 January 2007 - 05:25 PM

I tried that. It does not work in VB. I will try to convert from VBS to JS.
0

#4 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 05 January 2007 - 12:56 PM

if you email me your vb code, I'll try it out and see if there is a bug with avescripter.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic