Form field state question

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

Guest

I'm trying to make a read-only display of several data fields in a subform.
When double-clicked, information from that line is copied into the form it
sits in. So far so good.

The problem is I can't get the state right. If I leave it in the default
"enabled, non-locked", users can edit the text. That's not really a problem,
but it also means the text gets selected when they double click. That is a
problem.

So I tried "non-enabled, locked". However when you do that, it stops
accepting double-clicks. I don't know who thought THAT was a good idea.

And "non-enabled, non-locked" it puts it into the "greyed out" state, making
the text hard to read. Also a no-no.

So what's the trick? Is there some "non-selectable" bit?

Maury
 
If you want users to be able to click the controls, but not edit the
contents, you need to set both Locked and Enabled to True ('Yes' in the
Properties window).
 
Brendan Reynolds said:
If you want users to be able to click the controls, but not edit the
contents, you need to set both Locked and Enabled to True ('Yes' in the
Properties window).

This does not work, the fields remain selectable - ie, users can cut and
paste from them.

Maury
 
Cut no, copy yes.

Users can select the text, and copy it to the clipboard, from where they
could paste it elsewhere. They can not cut the text (which deletes from the
control as well as copying to the clipboard) or paste into the locked
control.

I'm not aware of any way that a control can be clickable without being
selectable. I don't know why that would be a problem?
 

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

Back
Top