Zoom box

  • Thread starter Thread starter Arturo
  • Start date Start date
A

Arturo

I am using the following to expand a memo field.

DailyNotes.SetFocus
DoCmd.RunCommand acCmdZoomBox

How do I get the cursor to go to the end of the filed?

Thank you.
 
No, it didn't work. Let me qualify that a little more. I want the cursor to
go to the end of the Zoom Box when it opens.

Thank you.
 
Continuous form should not make any difference, as long as you use the nav
buttons to move thru the form, and in the current event put
MyZoomBox.visible= false

You can make the zoombox as big as the entire form, if you want. Use a BIG
font!

Also, by making this a simple subroutine, you can call it from multiple
bound textboxes,
like this:

Private Sub txt1_DblClick(Cancel As Integer)
Zoomin (Me.txt1.ControlSource)
End Sub

Sub Zoomin(ctrlsource As String)
MyZoomBox.Visible = True
MyZoomBox.ControlSource = ctrlsource
MyZoomBox.SetFocus
MyZoomBox.SelStart = Nz(Len(Me.MyZoomBox), 0)
End Sub

Damon
 

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

Similar Threads

zoom command 1
Cursor position after using zoom box 1
Zoom Box 1
Zoom box end of text 1
Text Box Zoom Question 1
zoom box 1
Access runtime 2007 and acCmdZoombox 1
Deselect after using Zoom 4

Back
Top