Equinox Online Help - Language Reference - A to Z

Home

NextObjectName

Applies to
SyntaxNextObjectName
Action[Function] Returns the name of the object that was clicked when the focus left the current field.
ScopeOnly 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.

CategoryForms
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 then
if NextObjectName = "" then
Print "Object has no name"
else
Print "Clicked", NextObjectName
end if
end if