FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Menu Change Caption with C++ Builder6

 


gaudi
I´m Programming with
C++ Builder6 of Borland
I´d 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
Reply to topic    Frihost Forum Index -> Scripting -> Others

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