Whats the name of this control?

  • Thread starter Thread starter Rob Stevens
  • Start date Start date
Hi,

Within your toolbox within Visual Studio you should see a Toolbar control
within the "Device Menus and Toolbars" category. If you place this onto a
form, the menu bar should revert to the older Pocket PC 2003 style. You can
add buttons via the Buttons collection property.

The Toolbar control has a ButtonClicked event you can handle to determine
when a button is pressed.

See MSDN for more details including an example
http://msdn2.microsoft.com/en-us/library/system.windows.forms.toolbar(VS.80).aspx

Hope this helps,
Christopher Fairbairn
 
Christopher Fairbairn said:
Hi,

Within your toolbox within Visual Studio you should see a Toolbar control
within the "Device Menus and Toolbars" category. If you place this onto a

Hi Christopher,

I had tried this before and I couldn't get it to work. I think my problem
is the version
of Visual Studio that I am using, I am using 2008. I even looked at the
properties to
see if there was a .Text() property in the toolbar. Well, thats not there
at all, I am
assuming that M$ did a lot of changes with this version.

I would have liked to use this toolbar because I could use both text for
half of the toolbar,
and then icons for the next part. I will have to look at VS2005 to see if
those properties
are there.

Thanks for the help, I will have a lot more questions eventually. I am very
new to C#

Rob
 
Back
Top