button style on a Switchboard...

  • Thread starter Thread starter Rick B
  • Start date Start date
R

Rick B

I did some security work on a database file this morning. I dragged all my
objects into a new blank database in order to change the owner.

I think the switchboard might have been created under an older version of
Access, but dragging them over changed this.

Anyway, the buttons on my switchboard are now a bit more rounded and work
differently. If I click anywhere to the right of the button, it selects the
item. I don't have to click the actual button. I'd like to change this
back. I often click anywhere in the switchboard as a way to make Access my
active application and the new reflex causes trouble if Access happens to
already be the active application.

Any ideas? I could not find previous posts on how to correct this. But, I
might not be entering a good search string.
 
Hi Rick,

If you check the properties for each of the labels that hold the item
text, you'll see that there is an item called =HandleButtonClick(x)
on the OnClick event (where "x" denotes the label number). Just
remove those for each label so clicking the label will not activate
anything.

Concerning the rounded buttons, you are probably using Access
2003 with the Windows XP Form Themes turned on.

--
Jeff Conrad
Access Junkie - MVP
http://home.bendbroadband.com/conradsystems/accessjunkie.html
http://www.access.qbuilt.com/html/articles.html

in message:
 
Jeff:

Thanks!

I tried that and clicking the label still opens the item (even without the
event in there).

Normally, I don't use the switchboards, I create my own. But this
particular database has not really changed much in several years, and the
Switchboard just worked well because I have several "levels" in my menus.
 
Ahhh, one more thing to change.

Each of the eight labels are parents of the respective command
buttons. You need to cut the cord on these suckers, kick those
free-loaders out of the house, and tell them to get a job and
start earning a living because they're not getting any inheritance
from you until then.

Follow these steps:
1. Hold down the Shift key while you single click on each label
one by one to highlight all of them.
2. Go up to the menu and select Edit | Cut to remove them all.
3. Now go back up and select Edit | Paste to put them all back
4. While they are all still selected click and drag them all as a group
back into position.
5. Save and close the form.

Now you can turn their room into a sauna.

--
Jeff Conrad
Access Junkie - MVP
http://home.bendbroadband.com/conradsystems/accessjunkie.html
http://www.access.qbuilt.com/html/articles.html

in message:
 
PERFECT!!!

Thanks, Jeff!


--
Rick B



Jeff Conrad said:
Ahhh, one more thing to change.

Each of the eight labels are parents of the respective command
buttons. You need to cut the cord on these suckers, kick those
free-loaders out of the house, and tell them to get a job and
start earning a living because they're not getting any inheritance
from you until then.

Follow these steps:
1. Hold down the Shift key while you single click on each label
one by one to highlight all of them.
2. Go up to the menu and select Edit | Cut to remove them all.
3. Now go back up and select Edit | Paste to put them all back
4. While they are all still selected click and drag them all as a group
back into position.
5. Save and close the form.

Now you can turn their room into a sauna.

--
Jeff Conrad
Access Junkie - MVP
http://home.bendbroadband.com/conradsystems/accessjunkie.html
http://www.access.qbuilt.com/html/articles.html

in message:
 
Back
Top