gugladviser.blogg.se

Scriptcase events
Scriptcase events











SCRIPTCASE EVENTS UPDATE

In this scope, normally, are executed the macros that update the select, as these: sc_select_field, sc_select_order,sc_select_where(add) and etc. onScriptInit – This event is executed just one time, before the main select of the application execution. After a record is inserted, when it is loaded, upon submitting a form. onRecord – This event is executed before displaying each grid record. Events allow the developer to define custom actions at a specific execution time (e.g. Grid Events onApplicationInit – This event runs when the application is loading just for the first time. onBeforeInsert – This event runs before insert a record.

scriptcase events

onAfterInsert – This event runs after insert a record. onLoad – This event occurs when the page is loaded, ie when navigating from one record to another one, clicking on the buttons (new, insert, etc. onNavigate – This event runs when navigating from one record to another one. Here is a list with the most used events in each application:įorm Events onValidate – This event runs by clicking on the validation (OK, Update, Insert, Delete, Filter) depending on application. ) and for a specific type of application. Events allow the developer to define custom actions at a specific execution time (e.g.

scriptcase events scriptcase events

Events are oportunities created by the Scriptcase to the developer insert his own code in order to customize the applications, each event will run in a different period of time making the business rules creating even more easy.Įach application has different events because they have different definitions, for example, in the grid application there is the onRecord event, only exist on grid applications, that will run one time for each line loaded in the grid application, on form and control applications there is the onValidate event that will run every time when the appliation is submited. EVENTS Scriptcase uses the concept of events to enable the developer to customize application code.











Scriptcase events