Control COOATTREDIT@1.1:CTRLStatic
This control is used to display static text, a horizontal rule or a picture. This control ignores the
parameter
formdisplaypropertiesonce per design.
The parameter mode defines which static element should be displayed (text, picture, framedpicture, hr).
Possible values are:
- Mode=text
A text is displayed. In case the control is implemented for a string or string list property the
string is displayed. The string can contain simple HTML tags.
Note: This means that the string has to be HTML escaped if it contains user data like the object name.
If the control is implemented for an object, it is tried to display the content of following properties
in the given order:
- Mode=picture
A picture is displayed. In case the control is implemented for an object, the picture is taken from
the Multilingual Content (mlcontent) property. If this property is not available,
the picture is taken from the Content (content) property.
If the control is implemented for a string property, this string is used as a URL to the picture.
It is also possible to use a WebDAV URL. The picture can be horizontally aligned by adding the
viewhint VIEWHINT_CLASSNAME with the value "FscCenter" to your property.
- Mode=framedpicture
A picture with frame is displayed. Apart from that it is the same as the mode "picture".
- Mode=hr
A horizontal rule is displayed.
COOATTREDIT@1.1:CTRLStatic(
string
Mode,
any
Value)
Name |
Description |
Mode
|
Defines which static element should be displayed (text, picture, framedpicture, hr).
|
Value
|
When displaying text the value to be displayed can be set with this parameter. If the value represents an object
either by specifying an object address or a full reference starting with "#", this value is displayed.
|
Additional Information