Is it possible to disable paste (CTRL+V) option on C# panels generated through CA Plex?
CA Plex 7.2.1
To enable the configuration of the paste operation at a specific control level, CA Plex Engineering has introduced a new runtime property called "AllowPaste". This property allows you to enable or disable the paste operation for a given control (by default the paste operation is allowed).
Please contact Broadcom Support to obtain the fix that introduces the new runtime property called "AllowPaste".
Details of how the new property works:
New Property Name: AllowPaste
Supported Control Types: Single Line Edit, Multi Line Edit
Property Configuration
Default Value: "AllowPaste" is set to "True" by default, allowing the paste operation as usual.
To Update the Property Value:
1. Go to Panel design in Plex IDE
2. Set a 'Resource Name' property for the specific Single Line Edit or Multi Line Edit control where you want to disable the paste operation.
Example: In the screenshot below, the `stdDpt` field's edit control was selected, and its 'Resource Name' property was set to `AllowPasteOp`.
3. Generate and build the application.
4. Create an executable (EXE) for the function.
5. Open the generated application's `<FunctionName>.APP.XAML` file.
6. Define the resource property accordingly.
Example: If the 'Resource Name' property was set to `AllowPasteOp`, you would define the resource with that name within the `<FunctionName>.APP.XAML` file.
The screenshot also showed `AllowPasteOpME' used for a MultiLine Edit control on the Panel. Setting the AllowPaste property value to False will disable the paste operation for the associated control.