Difference between revisions of "Custom Delegates"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
''Under Construction'' | ''Under Construction'' | ||
− | ==Activate== | + | ==Custom Delegates== |
+ | ===Activate=== | ||
The delegate for the Activate event | The delegate for the Activate event | ||
− | ==After Data Changed== | + | ===After Data Changed=== |
The delegate for the Changed event (after data is read) | The delegate for the Changed event (after data is read) | ||
− | ==After Data Create== | + | ===After Data Create=== |
The delegate for the AfterCreated event | The delegate for the AfterCreated event | ||
− | ==After Data Delete== | + | ===After Data Delete=== |
The delegate for the AfterDelete event | The delegate for the AfterDelete event | ||
− | ==After Data Update== | + | ===After Data Update=== |
The delegate for the AfterUpdate event | The delegate for the AfterUpdate event | ||
− | ==Before Data Create== | + | ===Before Data Create=== |
The delegate for the BeforeCreated event | The delegate for the BeforeCreated event | ||
− | ==Before Data Delete== | + | ===Before Data Delete=== |
The delegate for the BeforeDelete event | The delegate for the BeforeDelete event | ||
− | ==Before Data Update== | + | ===Before Data Update=== |
The delegate for the BeforeUpdate event | The delegate for the BeforeUpdate event | ||
− | ==Change== | + | ===Change=== |
The delegate for the Change event | The delegate for the Change event | ||
− | ==Collapsed== | + | ===Collapsed=== |
The delegate for the Collapsed event | The delegate for the Collapsed event | ||
− | ==Custom footer menu== | + | ===Custom footer menu=== |
The delegate for the footer menu event | The delegate for the footer menu event | ||
− | ==Custom library== | + | ===Custom library=== |
The filename of the library containing code for event handlers and custom procedures/functions | The filename of the library containing code for event handlers and custom procedures/functions | ||
− | ==Custom search command== | + | ===Custom search command=== |
The delegate for the search event | The delegate for the search event | ||
− | ==Custom section menu== | + | ===Custom section menu=== |
The delegate for the section menu event | The delegate for the section menu event | ||
− | ==Deactivate== | + | ===Deactivate=== |
The delegate for the Deactivate event | The delegate for the Deactivate event | ||
− | ==Destroy== | + | ===Destroy=== |
The delegate for the Destroy event | The delegate for the Destroy event | ||
− | ==Dialog button delegate== | + | ===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. | 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== | + | ===Double click=== |
The delegate for the row DoubleClicked event | The delegate for the row DoubleClicked event | ||
− | ==Enabled When== | + | ===Enabled When=== |
The delegate for the EnabledWhen event | The delegate for the EnabledWhen event | ||
− | ==Expanded== | + | ===Expanded=== |
The delegate for the Expanded event | The delegate for the Expanded event | ||
− | ==Init== | + | ===Init=== |
The delegate for the Init event | The delegate for the Init event | ||
− | ==Interactive Change== | + | ===Interactive Change=== |
The delegate for the InteractiveChange event. This is called after each key is pressed. | The delegate for the InteractiveChange event. This is called after each key is pressed. | ||
− | ==Link Click== | + | ===Link Click=== |
The delegate for the Hyperlink/Button Click event. This is called with two arguments: functionname(controlsource,text) | The delegate for the Hyperlink/Button Click event. This is called with two arguments: functionname(controlsource,text) | ||
− | ==Load== | + | ===Load=== |
The delegate for the Load event | The delegate for the Load event | ||
− | ==Parent data changed== | + | ===Parent data changed=== |
The delegate for the ParentDataChanged event | The delegate for the ParentDataChanged event | ||
− | ==Ready== | + | ===Ready=== |
The delegate for the Ready event | The delegate for the Ready event | ||
− | ==Refresh== | + | ===Refresh=== |
The delegate for the Refresh event | The delegate for the Refresh event | ||
− | ==Scripting language== | + | ===Scripting language=== |
The default scripting language for custom code in this section (Inherit | Recital | Visual FoxPro | Python | JavaScript | PHP) | The default scripting language for custom code in this section (Inherit | Recital | Visual FoxPro | Python | JavaScript | PHP) | ||
− | ==Selection Changed== | + | ===Selection Changed=== |
The delegate for the Selection Changed event (for multi row selection) | The delegate for the Selection Changed event (for multi row selection) | ||
− | ==Sort== | + | ===Sort=== |
The delegate for the column Sort event fired when the header is clicked. This is called with two arguments: nColumn, nDirection | The delegate for the column Sort event fired when the header is clicked. This is called with two arguments: nColumn, nDirection | ||
− | ==Timer interval== | + | ===Timer interval=== |
The timer interval in seconds that the Timer event will be called at runtime | The timer interval in seconds that the Timer event will be called at runtime | ||
− | ==Timer== | + | ===Timer=== |
The delegate for the Timer event | The delegate for the Timer event | ||
− | ==Unload== | + | ===Unload=== |
The delegate for the Unload event | The delegate for the Unload event | ||
− | ==Valid When== | + | ===Valid When=== |
The delegate for the ValidWhen event | The delegate for the ValidWhen event | ||
− | ==Visible When== | + | ===Visible When=== |
The delegate for the VisibleWhen event | The delegate for the VisibleWhen event | ||
+ | |||
+ | |||
+ | ==Event Sequences== | ||
+ | |||
+ | ===Loading an App=== | ||
+ | Init | ||
+ | Load | ||
+ | Ready | ||
+ | Activate | ||
+ | |||
+ | ===Navigating between records=== | ||
+ | |||
+ | ===Editing an existing record=== | ||
+ | |||
+ | ===Adding a new record=== |
Revision as of 12:19, 9 February 2016
Under Construction
Contents
- 1 Custom Delegates
- 1.1 Activate
- 1.2 After Data Changed
- 1.3 After Data Create
- 1.4 After Data Delete
- 1.5 After Data Update
- 1.6 Before Data Create
- 1.7 Before Data Delete
- 1.8 Before Data Update
- 1.9 Change
- 1.10 Collapsed
- 1.11 Custom footer menu
- 1.12 Custom library
- 1.13 Custom search command
- 1.14 Custom section menu
- 1.15 Deactivate
- 1.16 Destroy
- 1.17 Dialog button delegate
- 1.18 Double click
- 1.19 Enabled When
- 1.20 Expanded
- 1.21 Init
- 1.22 Interactive Change
- 1.23 Link Click
- 1.24 Load
- 1.25 Parent data changed
- 1.26 Ready
- 1.27 Refresh
- 1.28 Scripting language
- 1.29 Selection Changed
- 1.30 Sort
- 1.31 Timer interval
- 1.32 Timer
- 1.33 Unload
- 1.34 Valid When
- 1.35 Visible When
- 2 Event Sequences
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
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
Collapsed
The delegate for the Collapsed event
The delegate for the footer menu event
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
The delegate for the section menu event
Deactivate
The delegate for the Deactivate event
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
Init
The delegate for the Init event
Interactive Change
The delegate for the InteractiveChange event. This is called after each key is pressed.
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
Parent data changed
The delegate for the ParentDataChanged event
Ready
The delegate for the Ready event
Refresh
The delegate for the Refresh event
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
Timer interval
The timer interval in seconds that the Timer event will be called at runtime
Timer
The delegate for the Timer event
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