2.276 .path
Returns a string representation for the position of the XML Cursor in the DOM tree. The :select() method can be called with this string in order to position an XML Cursor to that node in the DOM tree.
Furthermore, the attribute in a dmw_moviebutton is used to set the file path to the animation. GIF/SVG files are allowed. A file extension of ".svg" indicates an SVG file.
Definition
-
Data type
string
-
Access
get
-
C
Data type: DT_string
-
COBOL
Data type: DT-string
-
Classification
object-specific attribute
-
Objects
Object Specific
If the value of the .path attribute is stored elsewhere (e.g. in the .userdata attribute), it is important to know that the stored value will not be adjusted when the structure of the DOM tree changes. When the :select() method is called with the stored value after this, the XML Cursor will end up pointing to an incorrect DOM node.
For the dmw_moviebutton object, the attribute defines the file path to the animation. GIF/SVG files are permitted. A file extension of .svg indicates an SVG file. Path resolution via environment variables or the ~ symbol is supported. The animation file is loaded when the dmw_moviebutton object is made visible or when its attributes are changed, and depending on the values of the .play/.paused attributes, it may also play immediately.