|
-
Nov 10th, 2000, 11:51 AM
#1
Thread Starter
Frenzied Member
Hi,
Is it possible to manipulate the text of a menu item via code? What I'm trying to do is to show which one of the menu items is currently default. So for example:
Profiles
Profile1
Profile2 (Default)
Profile3
or:
Profiles
Profile1 (Default)
Profile2
Profile3
Any help and examples would be appreciated..
Dan
-
Nov 10th, 2000, 11:55 AM
#2
Thread Starter
Frenzied Member
Nevermind.. Dumby me!!! I just realized that you can change the properties of the menu item by calling it's name just like any other control... Man, long week I guess...
-
Nov 10th, 2000, 11:56 AM
#3
mnuCaption.Caption = mnuCaption.Caption & "(Default)"
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Nov 10th, 2000, 11:57 AM
#4
Lively Member
Simple, when you want to change the menus caption,
MenuItem.Caption="My New Caption"
Since this is a bit basic and you're an addicted member, I reckon it's a bit more complicated than that, if it is, please email me
Cheers
Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|