Convert Label to Textbox ??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have around 20 labels on a search screen, now I realize I want the user to be able to click on the label so I need to convert them all to textboxes. Is there a quick way?
 
Highlight them, right-click and select Change To... and then Text Box.

Rick B

I have around 20 labels on a search screen, now I realize I want the user to
be able to click on the label so I need to convert them all to textboxes. Is
there a quick way?
 
Note: You will have to do them one at a time. If you highlight multiple
labels, the "Change To" option will not be available.

Rick B


Highlight them, right-click and select Change To... and then Text Box.

Rick B

I have around 20 labels on a search screen, now I realize I want the user to
be able to click on the label so I need to convert them all to textboxes. Is
there a quick way?
 
Labels have a Click event. If the user just needs to click on the label and
not change the contents, then you can leave them as labels.

--
- - - - - - - - - - - - - - - - -
Ken Snell
<MS ACCESS MVP>

David said:
I have around 20 labels on a search screen, now I realize I want the user
to be able to click on the label so I need to convert them all to textboxes.
Is there a quick way?
 
My experience is with ACCESS 2002, which has Click, Double Click, Mouse
Down, Mouse Move, and Mouse Up events for labels.

So, perhaps you can't do this in ACCESS 2000...sorry.

--

Ken Snell
<MS ACCESS MVP>

David said:
I dont see any click event for labels in Access 2K, in fact no events at
all ???
 
David said:
I dont see any click event for labels in Access 2K, in fact no events at all
???

They have to be free-standing. If they are attached to a TextBox or other
control then they don't.
 
Highlight them, right-click and select Change To... and then Text Box.

Rick B

I have around 20 labels on a search screen, now I realize I want the user to
be able to click on the label so I need to convert them all to textboxes. Is
there a quick way?

It hasn't changed, Ken.

David,
Labels which are added to the form from the tool box have events.

Labels which are included when a bound field is added from the Field
List do not have events, nor do labels included when a new, unbound
text control is added to the form.

Because they are attached to a text control, clicking on the attached
label is the same as setting focus to the text control and therefore
the click event would be useless.

Select one Label at a time.
Right-click and select Change To: Text Control.
Or...
Delete each label and add a new unbound label from the tool box.
These will have events.
 
I use A2K

In addition, if a standard label is cut and pasted to a
control box, it loses its events (ie becomes a non-
clickable label).

So, if you want to use a lable for events (ie, click
events), avoid attaching to a control box.

Adam
 
When Textboxes are added to a form they have linked lables
by default.
The linked lables have no events.
non-linked labels have events (you can click or double-
click them).
To be able to click your lables select them all, cut them
then paste them. They will all have events.
You may need to align them to their textboxes after
pasting.

-----Original Message-----
I have around 20 labels on a search screen, now I realize
I want the user to be able to click on the label so I need
to convert them all to textboxes. Is there a quick way?
 
Back
Top