Hello everyone!
I read this on the help of CSPro : Starting with CSPro 7.1, you should no longer use these functions as they may soon be removed from CSPro. To replicate the behavior of the functions, you can use the setproperty function with one of the following arguments: "CaptureType", "Protected", or "UseEnterKey".
So I wanted to replace my Set atributes Statement used to change the values of various field properties by setProperty, but it does not work. How can I use SetProperty to allow the modification of a protected field for example, please?
Use SetProperty instead of Set Attributes Statement on CSPRO 7
Use SetProperty instead of Set Attributes Statement on CSPRO 7
- Attachments
-
- Capture.PNG (3.17 KiB) Viewed 4181 times
Sincerely yours !
Re: Use SetProperty instead of Set Attributes Statement on CSPRO 7
To make a field protected use:
To make it NOT protected use:
Full list of options is in the help for SetProperty https://www.csprousers.org/help/CSPro/s ... ction.html
Code: Select all
setproperty(FIELDNAME, "Protected","Yes");
Code: Select all
setpropertyFIELDNAME, ("Protected","No")