go in widget

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
go { forward | forth | back[ward] } in <widget>
Summary

Navigates forward or backward in a widget.

Introduced8.0
OSmac, windows, linux, ios, android
Platformsdesktop, mobile
Parameters
NameTypeDescription
widget

A widget reference.

Example
// Navigate to previous page in browser widget.
go back in widget "myBrowser"
// Return after previous call to "go back"
go forward in widget "myBrowser"
RelatedObject: widget
Description

Use the go in widget command to navigate within a widget. LiveCode sends a "OnGoBack" or "OnGoForward" message to the widget, which can then handle those messages to provide back / forward navigation.

Tagsnavigation,widget