Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Mar 2005
    Location
    Leicestershire, United Kingdom
    Posts
    506
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Enter Behaviour with this code (2000)

    We have the following code:

    Me!Comments.SetFocus
    SendKeys "+{F2}"

    When the zoom ox comes up and we type text and then want to go to a new line by pressing enter it takes us out of the zoom box completely.

    The field is A MEMO field and the enterkey behaviour is set to 'New line in field'
    Best Regards,

    Luke

  2. #2
    4 Star Lounger SteveH's Avatar
    Join Date
    Jan 2001
    Location
    Chelsea, Gtr London, United Kingdom
    Posts
    587
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Enter Behaviour with this code (2000)

    The attached demo has a custom-made zoom box in it.
    It also has a calendar and a calculator.

    I cannot find where I got it from so I cannot acknowledge the original author (sorry whoever you are!)
    Steve H
    IT Lecturer/Access Developer
    O2K SR3/O2010; Win7Pro

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Enter Behaviour with this code (2000)

    There is nothing you can do about that. Enter Key Behavior only applies to the text box on the form, not to the zoom window. The zoom window always closes when you press Enter. In other words, a zoom window is not suitable for this. You should make the text box high enough.

    Added: you can use Ctrl+Enter, however, to start a new line in the zoom window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •