Cbo - Read Only

S

steven w

I have a cbo on the header of a form. The cbo is used to
pull up information concerning particular projects by
selecting a project number. this info is displayed in form
detail. Is it possible to make the form 'read only'? I
have tried disallowing edit, additions etc from property
boxes of the form and the detail but this just freezes the
cbo. Details of the project are added through other forms,
so want this form to be for display of search results only.
thanks
 
W

Wayne Morgan

To lock certain fields, set the Locked value of the control for that field to True. Locked
and Enabled work together.

Locked = False, Enabled = True - Standard Control Behavior

Locked = False, Enabled = False - Grayed Out Control

Locked = True, Enabled = True - Control looks like a normal control and can be clicked
into to copy its contents for copy and paste, but can't be changed

Locked = True, Enabled = False - Control looks like as normal control, but can't even be
clicked into.

Regardless of these settings, the control's value can still be changed through code.
 
S

Steven W

Is it possible to enable a field with a hyperlink to work,
but not to allow the user to insert text into the field?
-----Original Message-----
To lock certain fields, set the Locked value of the
control for that field to True. Locked
and Enabled work together.

Locked = False, Enabled = True - Standard Control Behavior

Locked = False, Enabled = False - Grayed Out Control

Locked = True, Enabled = True - Control looks like a
normal control and can be clicked
into to copy its contents for copy and paste, but can't be changed

Locked = True, Enabled = False - Control looks like as
normal control, but can't even be
 
W

Wayne Morgan

Yes, I just tried it to verify it. Set the textbox that is bound to the
hyperlink field to Locked = Yes and Enabled = Yes.
 

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