I need to disable copy/paste functionality for a single line editor in power builder.
I tried keyShift! and KeyControl! to null the clipboard data when the user is trying to paste. but didn't work it.
I need to disable copy/paste functionality for a single line editor in power builder.
I tried keyShift! and KeyControl! to null the clipboard data when the user is trying to paste. but didn't work it.
To disable the Copy
functionality, define the Single-line edit as Password
.
Of course, this will hide the content of that field, but it is most probably what you want to achieve, as I cannot imagine another reason to want to diable the 'copy' functionnality.
Similarly, to avoid the Paste
possibility, define it as Display only
.
You can also play programmatically with those options.