Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Checkboxes etc. on Custom Toolbar

Status
Not open for further replies.

pandigel

Programmer
Jul 18, 2003
9
GB
I can customise a toolbar by adding controls, and Help tells you how to use Command Buttons. But if I add a Checkbox. Option Button, or Toggle button, Help is its usual unHelpful self. How does one show or hide the tick in the Checkbox? How does one read the state of these Controls? How does one put other Controls into a Frame? Would (say) Option Buttons then behave like standard Radio Buttons and allow only one to be active?

Trial & error has found that some of these controls have a State or ButtonState property (unlisted by Help!) but does anyone know where full details may be found?


If that's too big a question, I'd welcome any info on use of Checkboxes.

TIA
 
And what about the Object Browser (F2 while in VBE) ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks, but I've always found Object Browser singularly useless. It is just a list of items: yes it lists properties, methods, & events of the Checkbox, or whatever, but doesn't tell you anything about them - or have I missed something all this time?
 
How are ya pandigel . . . . .

Although you can put these controls on a [blue]CommandBar[/blue], there converted to a [blue]commandbar button[/blue] and [purple]loose the functionality[/purple] they would have in a form. Buttons have [blue]simple images[/blue] which can be changed, but are otherwise static. So for your purposes you'd have to toggle this image, and I know of no other way to this except thru pasting from the ClipBoard (alot of code just to change a simple image).

Now, you can get a combobox on the bar, but it has to be a commandbar combobox and can only be done thru code.

All in all, you need to figure using a [blue]standard commandbar button . . .[/blue]

Calvin.gif
See Ya! . . . . . .
 
I've always found Object Browser singularly useless
I personally ONLY use F2 and F1 keys to find relevant info ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top