If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Zoom Box
I have a command button on a form that opens a text field in a zoom box (DoCmd.Runcommand acCmdZoomBox). Is there any way to change the properties of the zoom box so the contents are read-only?
|
#2
|
|||
|
|||
Zoom Box
On Tue, 8 Jun 2004 07:01:01 -0700, riley wrote:
I have a command button on a form that opens a text field in a zoom box (DoCmd.Runcommand acCmdZoomBox). Is there any way to change the properties of the zoom box so the contents are read-only? Let me make sure i understand you. You have a field in which users can enter and modify data at will. The only time you wish to have the field read only is if they use the Zoom Box. Is that correct? (Why not use the control's Double-click event instead of a separate command button?) Code the Command button click event: Me![ControlName].SetFocus DoCmd.RunCommand acCmdZoomBox Me![ControlName].Locked = True Then code the [ControlName] control's Exit event: Me![ControlName].Locked = False The user can type in the Zoom Box, but it will not change the actual data in the field. The control will be unlocked when you navigate to the next control. -- Fred Please only reply to this newsgroup. I do not reply to personal email. |
Thread Tools | |
Display Modes | |
|
|