Consultor Eletrônico



Kbase P4128: Can copy and paste from a field defined as BLANK
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Windows

SYMPTOM(s):

Can copy and paste from a field defined as BLANK

CAUSE:

Fields defined as BLANK in a FRAME are used for inputting passwords.
The ability to cut and paste from such fields represents a mild security risk.

FIX:

The workaround is to:

- Define your own pop-up menu for the BLANK field; this way, the default pop-up menu (which contains the Cut/Copy options) will not pop up.
- Define a trigger for key CTRL-C as in the following:

ON CTRL-C OF myBlankField IN FRAME myFrame DO:
RETURN NO-APPLY.
END.