Hello,
I want to get the properties applied on a field, but the $fieldproperties function only allow me to get the properties that have been specified in PropertyList (by proc code)
I want to know if a field is editable or not, so I need to get the actives properties, even if this has been set by the IDE.
Do you konw how can I get this ?
Is there also a way to know in runtime if a field is multiline or not ?
Thanks for advance.
Laurent.
------------------------------
Laurent Mérot
Proges Plus
Willems FR
------------------------------
Hello
All available Uniface functions and Uniface script statements are documented in the Uniface 10.4 library.
For the field I believe $fieldinfo can give the information via the topic SYNTAX.
An extract from the library:
$fieldinfo
Return information about a field.
$fieldinfo ( Field , Topic )
Example: if ($fieldinfo (FLD1,"syntax") = "HID") ...
Description
This function is especially useful in writing generalized operations
and global ProcScript where the information needs to be determined at run time rather than built into the component.
About topic SYNTAX:
Associative list of applicable field syntax codes, as defined in the Repository. Only the following codes can be returned:
HID,NED,NDI,NPR and DIM
The returned value is not affected by fieldsyntax or $fieldsyntax.
------------------------------
Peter Beugel
Rocket Internal - All Brands
Amsterdam NL
------------------------------