LastOption Property

Returns the last option selected by the user in the Grid control context menu. Read-only.

object.LastOption = [string]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is the last option selected from the grid's option menu.

Client support

   Newlook Smartclient

   Newlook Server

Use

Useful if you want to identify the option selected by the user before continuing.

BE AWARE THAT:

If Grid option auto-enter is set to True in Settings > Preferences then any option selected from the grid menu will be sent immediately through to the host and the next form received. You will need to capture this property before the form is sent to the host or turn this property off in Settings.

See Also

OnOption property | Options property

Applies To

Grid control


© 2004-2021 looksoftware. All rights reserved.