Forms - Text box over Label - Set In front so I can enter data

G

Guest

I would like to use a label to create '( )' and then put a text box over
it so that users can enter an 'X' if appropriate. What happens is that the
Label is in front of the Text Box and I don't know how to move it behind the
text box so that 'X' can be entered. Is this possible? How?
I have set the Label property Back Style to 'Transparent' so I do see the
Text Box, but I can't enter data in it.
 
D

Douglas J. Steele

Must it be an X? Would a checkbox suffice?

AFAIK, you can't do what you're trying to do. You could put two labels, one
on each side of the text box with ( in one, and ) in the other.
 
G

Guest

thanks much

Douglas J. Steele said:
Must it be an X? Would a checkbox suffice?

AFAIK, you can't do what you're trying to do. You could put two labels, one
on each side of the text box with ( in one, and ) in the other.
 
F

fredg

I would like to use a label to create '( )' and then put a text box over
it so that users can enter an 'X' if appropriate. What happens is that the
Label is in front of the Text Box and I don't know how to move it behind the
text box so that 'X' can be entered. Is this possible? How?
I have set the Label property Back Style to 'Transparent' so I do see the
Text Box, but I can't enter data in it.

So you just want the ( ) to show on the form, not be a part of the
value actually entered.

Add a label to the form. Size it wider than the text control.
Size it's height to the same as the text control.
As it's caption type
( )
Use as many spaces between the () as needed to show the parenthesis
around the text control.
Make the label Back Style Transparent.
Move this label on top of the text control.
While the label is still selected, click on format + Send To Back.

You may have to resize the label or add or delete some spaces between
the parenthesis. Also, you may wish to make the font size of the
parenthesis a bit larger. That's up to you.
Once done, the view will look like ( X ).
Since the label is behind the text control, you can enter a value in
the text control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top