Ask Your Question

How to make a push button invisible, but still function? [closed]

asked 2016-03-25 17:22:05 +0200

docbda gravatar image

I'm attempting to simulate an image map in a base form. In order to accomplish this, I have inserted push buttons to function as "hot spots" over the background image. I have everything working great, but I would like to get rid of the image of the button, but continue to have the help text appear when the the location of the button is moused over (sufficient for the user to know that a "hot spot" is there), and still function when the area in which the push button resides in the image is mouse clicked.

I have envisioned a couple of ways this might be accomplished. One would be to "flatten" the button and change the background color for the button to match the color of the underlying image. I need to flatten the button to be rid of the 3-D shadow that shows up at the location of the button. This does not seem to be an option under the push button properties as it is for some of the other form controls.

Another way was to choose NO for "visible" under the the "general" tab of the push button properties, but this makes the button non-functional. I would think the the "enabled" option would serve the function of disabling the button if that was the form designer's wish? Is it a bug that choosing NO under the visible option disables the button as well?

Does anyone have an idea how I can accomplish the above? Thanks in advance for your advice.


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Ratslinger
close date 2016-03-26 18:44:29.602560

1 Answer

Sort by » oldest newest most voted

answered 2016-03-25 17:58:19 +0200

Ratslinger gravatar image

Hello again. Another thought may be to use an Image Button. Create the button without a border and insert your image into the graphics property.

edit flag offensive delete link more


Worked beautifully! You're the man! docbda

docbda gravatar imagedocbda ( 2016-03-25 18:42:21 +0200 )edit

You can also take an image, cut it up into pieces using an image editor (Photoshop, Gimp etc.) insert each as images on form, line them up to form the original image and then assign a macro to each image piece much like a button.

Ratslinger gravatar imageRatslinger ( 2016-03-25 18:51:57 +0200 )edit

Question Tools

1 follower


Asked: 2016-03-25 17:22:05 +0200

Seen: 134 times

Last updated: Mar 25 '16