Equinox Online Help - Language Reference - A to Z
NextObjectName |
|
---|---|
Applies to | |
Syntax | NextObjectName |
Action | [Function] Returns the name of the object that was clicked when the focus left the current field. |
Scope | Only usable in form methods. |
Notes | This function only works when the system workarea SysAfterField is set to 9 or 10 (mouse click back within page or mouse click forward within page). It returns the object name (as a string) of the item that was clicked when the focus left the last field visited. If the next object has no name, the string will (of course) be empty. |
Category | Forms |
See Also | ChangeEditLine, ChangeGroup, ChangeObject, ChangePage, CurrentEventName, CurrentGroupName, CurrentObjectName, CurrentPageName, DefaultHelp, EnableGroup, EnablePage, Get, IsPageScroll, NextObjectName |
Example | The following example uses the "After any object" event to detect which object was clicked next. if SysAfterField = 9 Or SysAfterField = 10 thenif NextObjectName = "" thenend ifPrint "Object has no name"elsePrint "Clicked", NextObjectNameend if |