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
-
Boni
- Posts: 75
- Joined: February 25th, 2020, 5:53 am
Use SetProperty instead of Set Attributes Statement on CSPRO 7
You do not have the required permissions to view the files attached to this post.
Sincerely yours !
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
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")