Difference between revisions of "Custom Delegates"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 20: | Line 20: | ||
===Change=== | ===Change=== | ||
The delegate for the Change event | The delegate for the Change event | ||
+ | ===Click=== | ||
===Collapsed=== | ===Collapsed=== | ||
The delegate for the Collapsed event | The delegate for the Collapsed event | ||
+ | ===Context Menu=== | ||
===Custom footer menu=== | ===Custom footer menu=== | ||
The delegate for the footer menu event | The delegate for the footer menu event | ||
Line 34: | Line 36: | ||
See [[Section Menus]] | See [[Section Menus]] | ||
+ | ===Data Changed=== | ||
===Deactivate=== | ===Deactivate=== | ||
The delegate for the Deactivate event | The delegate for the Deactivate event | ||
Line 46: | Line 49: | ||
===Expanded=== | ===Expanded=== | ||
The delegate for the Expanded event | The delegate for the Expanded event | ||
+ | ===Got Focus=== | ||
+ | ===Hotkey=== | ||
+ | ===Inactive=== | ||
+ | ====Inactive interval==== | ||
===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. | ||
+ | ===Instant Search=== | ||
===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 | ||
+ | ===Lost Focus=== | ||
===Parent data changed=== | ===Parent data changed=== | ||
The delegate for the ParentDataChanged event | The delegate for the ParentDataChanged event | ||
Line 68: | Line 77: | ||
===Timer=== | ===Timer=== | ||
The delegate for the Timer event | The delegate for the Timer event | ||
− | ===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 | ||
===Unload=== | ===Unload=== | ||
Line 85: | Line 94: | ||
Ready | Ready | ||
Activate | Activate | ||
+ | |||
+ | ===Closing an App=== | ||
===Navigating between records=== | ===Navigating between records=== | ||
Line 91: | Line 102: | ||
===Adding a new record=== | ===Adding a new record=== | ||
+ | |||
+ | ===Deleting a record=== |
Revision as of 12:45, 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 Click
- 1.11 Collapsed
- 1.12 Context Menu
- 1.13 Custom footer menu
- 1.14 Custom library
- 1.15 Custom search command
- 1.16 Custom section menu
- 1.17 Data Changed
- 1.18 Deactivate
- 1.19 Destroy
- 1.20 Dialog button delegate
- 1.21 Double click
- 1.22 Enabled When
- 1.23 Expanded
- 1.24 Got Focus
- 1.25 Hotkey
- 1.26 Inactive
- 1.27 Init
- 1.28 Interactive Change
- 1.29 Instant Search
- 1.30 Link Click
- 1.31 Load
- 1.32 Lost Focus
- 1.33 Parent data changed
- 1.34 Ready
- 1.35 Refresh
- 1.36 Scripting language
- 1.37 Selection Changed
- 1.38 Sort
- 1.39 Timer
- 1.40 Unload
- 1.41 Valid When
- 1.42 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
Click
Collapsed
The delegate for the Collapsed event
Context 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
The delegate for the section menu event
See Section Menus
Data Changed
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
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
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
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