Link to home
Start Free TrialLog in
Avatar of RamzyNEbeid
RamzyNEbeidFlag for Egypt

asked on

Add ToolBarButton.Text is missing in Compact Framework 3.5

Dear all
I am started to work with Windows Mobile Development using VS2008 and Compact Framework 3.5
I did add “ToolBar” Control and inside it I added “ToolBarButton” and I can’t find how can I add Text for this “ToolBarButton”?
ToolBarButton toolbarbutton1 = new ToolBarButton();
toolbarbutton1.Text ¿ not found
how can I set the name of this control ?
Please help
Avatar of AndyAinscow
Flag of Switzerland image

>>how can I set the name of this control ?

toolbarbutton1.Name = "NameIsNotTheSameAsText";
Avatar of RamzyNEbeid


then how can i set the text?
I don't think you can - on the compact framework.
Avatar of hjgode
Flag of Germany image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Any reason why my comments weren't worth a split?  (The accepted answer is a repeat of my second comment to your second question, the first question was answered by my first comment).