"Shell" <Shell[ at ]discussions.microsoft.com> wrote in message news:4760A3E7-0E5C-4552-8666-EA746B8D9028[ at ]microsoft.com...
[Quoted Text] > In Access 2000 and Windows XP, I have a label with no caption. I use it > so > that an admin can right click on the form and some command buttons become > visible. If the admin right clicks again the command buttons become > invisible. > > The problem is that when you right click on the form you get a pop-up menu > which contains some enabled values (Form Design, Data Sheet View) and some > not enabled values. > > How do I NOT have this pop up menu display when the right mouse button is > clicked over the invisible label? > > Thanks > -- > Shell
Set the form's "Shortcut Menu" property to "No". However, if the label isn't visible it'll never respond to the mouse click. If by invisible label you actually mean a label with it's visible property set to Yes, but doesn't show because the BackStyle is set to Transparent, then you'll be ok.
|