Defines an action to be performed when the object starts running. It is a Client Event which takes place before the Server Events (Start, Refresh and Load). 

As it is a Client Event, the possibilities and limitations are the same that on any other Client Event.

Important: To initialize application layouts it is recommended to use Navigation Start Events instead of ClientStart Event because this may have non-desired behaivours for some Navigation Styles.

Syntax

Event ClientStart
        Event_code
EndEvent

Where:
Event_code
   Code associated to the event. 

The object parameters are available on this event.

The variables of this event are available for the rest of the events (i.e.: you can have a grid filtered by a variable asigned in the ClientStart Event).

This event is executed ALWAYS regardless of the specified security schema.

Examples

If we need to know the user's geolocation before loading the panel, we could call the Geolocation API:

Event ClientStart
       &DeviceLocation = GeoLocationAPI.GetMyLocation(10,10,true,true)
EndEvent

Scope

Objects  SDPanelMenu object

See Also

Event Triggering Order in Panels