SOLVED

Bring label to front not working

Steel Contributor

Hello Experts,

 

I have a form 

A label is on this form. 

I want this label to always be on top of a command button.

I go to Arrange>Move To Front but the label does not move to front. 

 

I then tried to attach the label to the command button and selected the command button and chose Move to Back and chose Move to Front for the label but that didnt help either. 

 

The label does appear on top on hover though.  

 

How can I keep the label on top all the time?  Set focus? 

9 Replies
Why do you want a label on top of a command button?
hi, because the label is a different font and smaller font size than the command buttons font size. Also, the command button is too small and I do not want to make the button larger.
I'm confused. The command button is small and you don't want to make it bigger, but you also want a larger label over the top of the button? Doesn't that take up as much space as the button would if you simply increased its size?

What else is involved here? Some detail seems to be missing.

@George_Hepworth 

Hi George, I am not wanting to cover the button. It's just a small label towards to bottom of the button. I can not add the text to the button since I want it to be smaller font.  Let me know what else you need. 

Tony2021_0-1697238162420.png

 

Thanks for "painting the picture". I get it now.
How about making the background of the Command button transparent and placing the label behind it so it shows through? Then the command button remains clickable. Would that work?
Hi George, I wouldn't be able to see the button though, correct? I am not sure if I am following though. Let me know...thank you.
best response confirmed by Tony2021 (Steel Contributor)
Solution
I think you should be able to format the label itself in such as way as to simulate what you'd see in the button, e.g. a background color and border, maybe even a raised appearance. Try it and see. It may be the only way to implement the functionality you need.
interesting. I did manage to mirror the button's color to the label and made the button transparent. Pretty crafty. The issue was that the button is next to anothre button and the button is now essentially the label and has sharp corners and the button that is below it has rounded corners so the formatting doesnt look real good when next to the other button. Its not that important. I thought there was an easier way to do this. thank you.
I just noticed something. If I change to a textbox then I dont have this issue and the textbox is always on top of the button (if I bring textbox to front and push button to back). As a label, it doesn't seems to always follow the order and sometimes the label is behind the button even if I force it to the front.
1 best response

Accepted Solutions
best response confirmed by Tony2021 (Steel Contributor)
Solution
I think you should be able to format the label itself in such as way as to simulate what you'd see in the button, e.g. a background color and border, maybe even a raised appearance. Try it and see. It may be the only way to implement the functionality you need.

View solution in original post