Difference between revisions of "Custom Delegates"

From Lianjapedia
Jump to: navigation, search
Line 66: Line 66:
 
The delegate for the Load event
 
The delegate for the Load event
 
===Lost Focus===
 
===Lost Focus===
 +
===Middle Click===
 +
===Mouse Down===
 +
===Mouse Enter===
 +
===Mouse Leave===
 +
===Mouse Move===
 +
===Mouse Up===
 
===Pan gesture===
 
===Pan gesture===
 
===Parent data changed===
 
===Parent data changed===
Line 74: Line 80:
 
===Refresh===
 
===Refresh===
 
The delegate for the Refresh event
 
The delegate for the Refresh event
 +
===Resize===
 
===Resized===
 
===Resized===
 
===Scripting language===
 
===Scripting language===

Revision as of 13:15, 9 February 2016

Under Construction

Custom Delegates

Activate

The delegate for the Activate event

After Data Changed

The delegate for the Changed event (after data is read)

After Data Create

The delegate for the AfterCreated event

After Data Delete

The delegate for the AfterDelete event

After Data Update

The delegate for the AfterUpdate event

After Row Change

Before Data Create

The delegate for the BeforeCreated event

Before Data Delete

The delegate for the BeforeDelete event

Before Data Update

The delegate for the BeforeUpdate event

Change

The delegate for the Change event

Click

Collapsed

The delegate for the Collapsed event

Context Menu

Custom footer menu

The delegate for the footer menu event

See Section Footers

Custom library

The filename of the library containing code for event handlers and custom procedures/functions

Custom search command

The delegate for the search event

Custom section menu

The delegate for the section menu event

See Section Menus

Data Changed

Deactivate

The delegate for the Deactivate event

Default Action

Destroy

The delegate for the Destroy event

Dialog button delegate

The delegate for the DialogButtonClicked event. If a dialogbutton on a Field has no delegate, the Section delegate will be called. If the section has no delegate, then the Page delegate will be called.

Double click

The delegate for the row DoubleClicked event

Enabled When

The delegate for the EnabledWhen event

Expanded

The delegate for the Expanded event

Gestures

Got Focus

Hotkey

Inactive

Inactive interval

Init

The delegate for the Init event

Interactive Change

The delegate for the InteractiveChange event. This is called after each key is pressed.

Instant Search

Link Click

The delegate for the Hyperlink/Button Click event. This is called with two arguments: functionname(controlsource,text)

Load

The delegate for the Load event

Lost Focus

Middle Click

Mouse Down

Mouse Enter

Mouse Leave

Mouse Move

Mouse Up

Pan gesture

Parent data changed

The delegate for the ParentDataChanged event

Pinch gesture

Ready

The delegate for the Ready event

Refresh

The delegate for the Refresh event

Resize

Resized

Scripting language

The default scripting language for custom code in this section (Inherit | Recital | Visual FoxPro | Python | JavaScript | PHP)

Selection Changed

The delegate for the Selection Changed event (for multi row selection)

Sort

The delegate for the column Sort event fired when the header is clicked. This is called with two arguments: nColumn, nDirection

Swipe down gesture

Swipe left gesture

Swipe right gesture

Swipe up gesture

Tap gesture

Tap and hold gesture

Timer

The delegate for the Timer event

Timer interval

The timer interval in seconds that the Timer event will be called at runtime

Unload

The delegate for the Unload event

Valid When

The delegate for the ValidWhen event

Visible When

The delegate for the VisibleWhen event


Event Sequences

Loading an App

Init Load Ready Activate

Closing an App

Navigating between records

Editing an existing record

Adding a new record

Deleting a record