2.168 .history_curitem
Returns the current page from the history.
Definition
-
Data type
integer
-
Access
get
-
changed event
no
-
C
Data type: DT_integer
-
COBOL
Data type: DT-integer
-
Classification
object-specific attribute
-
Objects
This attribute provides the current index of the displayed web page in the page history. Setting it causes the web page to be loaded via the address in .history_url. A value of 0 indicates that the history is empty.
Changes to the history through interaction with the website do not generate events. However, the start/finish event can be used as a trigger for changes to the history.
The page history is not persistent and can only be guaranteed while the object is visible. Making the object invisible, directly or indirectly, will permanently delete the history.
See also
Attributes .history_count, .history_title, .history_url
Object dmw_webview