label in front of button

p0welly

Registered User.
Local time
Today, 00:03
Joined
Aug 26, 2004
Messages
38
I have a button on a form that is hidden, the button has a label over it, both are normally hidden.

When the user presses another button on the form I need these to appear but however I do it, the label appears behing the button.

Ive sent the button to the back and brought the label to the front, both by default are not visable

when the user clicks the button I run the following psuedo code

me.button.visible = true
me.buttonlabel.visible = true


any ideas?

regards

Andy
 
hi,

how bout placing the label next to the button? Are you using the command button control that is available in Access itself or is it some special colored or stylised button?

If you are using the command button control (the one in access itself) and have an associated label along with it.. if u move ur mouse over the label it will be the button that somehow gets the focus... even if the label is actually in front. So initially you might see that your label is visible but when u roll your mouse over it.. the label seems to get "pushed back". I suppose access does that since generally command buttons are meant to be used to make something happen and labels are more meant to be descriptive by nature.. probably some hierarchy of importance or something!!

If you dont associate the label with the command button, the label will remain in front. Atleast it does for me!! :)

P.S. just my two cents worth advice.... if you want the label to remain in front, with the command button behind it... why have a command button at all? if you're trying to include a description or caption for the button, you can set that using the command buttons caption property.
 

Users who are viewing this thread

Back
Top Bottom