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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Menu Bar toggle command question

Status
Not open for further replies.

inso18

Technical User
Dec 30, 2006
147
IL
Hello all!

I have a form that can be viewed by either customer name or customer sir name. So I've created a menu bar with a custom menu called "View By", and 2 commands: "Name" and "Sir Name". Each command activates a macro that alters the form accordingly.

I need something else for the menu: (which I can't configure via "Customize..." option) When a user will activate "Name", a toggle (V-shaped) icon will appear next to "Name" and disappear from "Sir Name", and likewise, when user will activate "Sir Name" a toggle icon will appear next to "Sir Name" and disappear from "Name", so the user will know by which method the form is being viewed now.

I figure it's got to do with changing the menu bar properties via VBA, but I haven't found anywhere anything on that.

Can anyone please help,
thanks a lot
inso18.
 
SeeThru,
Yeah, I could change the title, but it looks less professional than a "V" on the menu bar command

I'm using MS-Access 2003
 
How are ya inso18 . . .

[blue]SeeThru[/blue] has you in tow! I can't help but aggree!

It doesn't matter how you do it!, but a display of the selection in the form (unbound textbox with prompt or color or something) to save the extra click to find out, is in order!

[blue]Your Thoughts? . . .[/blue]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top