One way I can think of is to :
Type in the text on the layout for both contexts (2 text boxes)
1 for record locked
1 for click to lock me
Leave these transparent.
Apply conditional formatting to each one individually so that
if locked = true, set font size to 500px or higher (for click to lock me)
if locked = false, set font size to 500px or higher (Record Locked)
Align, Size and Group the objects then create the button.
Dear SWS, Thank you for your assistance. I've since made two different text boxes and changed the font colour to blend in with the background with conditional formatting. Thanks Aikiko
Changing the font colour may actually show, changing the text size will not.
For instance, if the button is grey, the first text object is black and the second text object is grey
you will see the second text object where it overlays the first (if it does that is)
The best way is to use conditional formatting to increase the text size so its too large to display within the text area.
You wont get any interference that way
I've since made two different text boxes and changed the font colour to blend in with the background with conditional formatting.
That won't work well, because one of the text objects must be on top of the other one.
Yes, the two text boxes were overlapping but I reduced the font size to 1 point for one textbox, arranged the other textbox to be 'at the front' and it appears to work. Not amazingly perfect, but it works. Unless there are other ideas of course?
What SWS said.