4D v14.3METHOD SET ATTRIBUTE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
METHOD SET ATTRIBUTE
METHOD SET ATTRIBUTE
The METHOD SET ATTRIBUTE command sets the value(s) of the attribType attribute(s) for the project method designated by the path parameter. This command only works with project methods. If you pass an invalid path, an error is generated. In the attribType parameter, pass a value indicating the type of attribute to set. You can use the following constants, found in the Design Object Access theme:
In the attribValue parameter, you can pass either:
You can pass multiple attribType;attribValue pairs in a single call. You can execute this command from a component, but in this case, you must pass the * parameter because access to the component code is read-only. If you omit the * parameter in this context, the error -9763 is generated. This command cannot be executed in compiled mode. When it is called in this mode, it will generate the error -9762. Selection of the "Shared by components and host database" property for the "Choose dialog" project method: METHOD SET ATTRIBUTE("Choose dialog";Attribute shared;True) Setting several attribute/value pairs: METHOD SET ATTRIBUTE(vPath;Attribute invisible;vInvisible;Attribute published Web;v4DAction;Attribute published SOAP;vSoap;Attribute published WSDL;vWSDL;Attribute shared;vExported;Attribute published SQL;vSQL;Attribute executed on server;vRemote;Attribute folder name;vFolder;*) |
PROPERTIES
Product: 4D
HISTORY
SEE ALSO
Design Object Access ARTICLE USAGE
4D Language Reference ( 4D v14 R2) Inherited from : METHOD SET ATTRIBUTE ( 4D v13.5) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||