Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Access

Discussion in 'Information Technology' started by drusenko@gmail.com, Jul 28, 2006.

Tags:
  1. drusenko@gmail.com

    drusenko@gmail.com
    Expand Collapse
    Guest

    Hello,

    I am trying to add the DHTML Edit Control ActiveX Object to an Access
    form. Everything works very well, except that the "Enter" key cycles
    between form elements, instead of being sent to the ActiveX object
    (which would add a new line) -- in other words, it's impossible to add
    a new line. I tried setting the EnterKeyBehavior property (as one would
    do with Text boxes), but Access complains that this property doesn't
    exist.

    Any suggestions? Or are there any better ways to add very basic HTML
    editing to a form? Any help is much appreciated.

    Regards,

    David
     
  2. Loading...


  3. Douglas J Steele

    Douglas J Steele
    Expand Collapse
    Guest

    HTML doesn't recognize carriage returns, so it doesn't surprise me that the
    control doesn't recognize the Enter key.

    I've got no experience with that control, but have you tried using
    Ctrl-Enter? That works in many other places in Microsoft products.

    --
    Doug Steele, Microsoft Access MVP
    http://I.Am/DougSteele
    (no e-mails, please!)


    <drusenko@gmail.com> wrote in message
    news:1151522444.164045.69850@75g2000cwc.googlegroups.com...
    > Hello,
    >
    > I am trying to add the DHTML Edit Control ActiveX Object to an Access
    > form. Everything works very well, except that the "Enter" key cycles
    > between form elements, instead of being sent to the ActiveX object
    > (which would add a new line) -- in other words, it's impossible to add
    > a new line. I tried setting the EnterKeyBehavior property (as one would
    > do with Text boxes), but Access complains that this property doesn't
    > exist.
    >
    > Any suggestions? Or are there any better ways to add very basic HTML
    > editing to a form? Any help is much appreciated.
    >
    > Regards,
    >
    > David
    >
     

Share This Page