FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Menu Change Caption with C++ Builder6





gaudi
Im Programming with
C++ Builder6 of Borland
Id like to change the Caption of an entry in the MainMenu1.
Also in Submenus
Any Idea??
I need the Code

Thanks
gaudi
I found the solution by myself

Edit1->Text = MainMenu1->Items->Items[0]->Caption;//MainMenu1
Edit1->Text = MainMenu1->Items->Items[1]->Caption; //MainMenu2
Edit1->Text = MainMenu1->Items->Items[0]->Items[0]->Caption;//MainMenu1->Submenu1

MainMenu1->Items->Items[0]->Items[0]->Caption = "new";//set new name
Related topics
Califoria drivers exam
Win XP tips
quel navigateur ?
Skrzynka o pojemnosci 1TB (MailNation)
Fifa 06!
Hamachi
FAT32 or NTFS?
personal site for school - what do you think?
[Work]Unreal Tournament modification - Brother of Honor
Windows XP Tricks & Tips!!!!
Something crazy about IE javascript wew...
Simple menu written in C - Problem with loop
C++ Builder6 of Borland rightclick on Listbox with event
Name server change request
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.