Subject Re: PasswordMaskEF.cc bug?
From Mervyn Bick <invalid@invalid.invalid>
Date Tue, 27 Feb 2024 12:32:01 +0200
Newsgroups dbase.getting-started

On 2024/02/27 12:17, Bernd Hohenester wrote:

> Because the function key has no access to "this.value", we can't check the clipboard's content. So i changed it to "onKey" and it worked. BUT now all entered chars are shown with the font of the entryfield and not changed to the maskChar.
>
> Ok, back to "function key" and another trick to get the clibboard's content. Now we use an editor-control and paste the clipboard's content. Then check the valid chars and when all is well, set the values. If not, tell the user and reject the insert.
>
> Bernd

Add Marc van den Berghen's clipb_mv.cc from the duFLP into the custom
control.  You will then be able to read the clipboard.

Mervyn.