1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Selected text in editor doesn't get deleted when typing

Discussão em 'StackOverflow' iniciado por fdantas, Novembro 20, 2017.

  1. fdantas

    fdantas Administrator Moderador

    When I select text in an Editor widget and start to type something the selected text doesn't get delete automatically, instead the typed text is appended at the end of the selected text. This behaves like that only when you have a ANY-KEY ANYWHERE trigger in your code.

    In my project I can't avoid using ANY-KEY ANYWHERE but maybe you have other suggestions or solutions for this problem?

    I'm using OpenEdge 10.2B07.

    Editor generating code:

    DEFINE VARIABLE FILL-IN-2 AS CHARACTER
    VIEW-AS EDITOR
    SIZE 16 BY 1.75 NO-UNDO.


    Trigger code:

    ON 'ANY-KEY' ANYWHERE
    DO :

    END.

    Continue reading...

Compartilhe esta Página