Convert Label to Textbox ??

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?
 
R

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?
 
R

Rick B

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?
 
K

Ken Snell

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?
 
K

Ken Snell

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 ???
 
R

Rick Brandt

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.
 
F

fredg

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.
 
A

Adam

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
 
D

David Bruce

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?
 

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