|
|
hk_interpreter is the basic class for script handling
hk_interpreter (hk_presentation* p)
| hk_interpreter |
~hk_interpreter ()
| ~hk_interpreter |
[virtual]
void init ()
| init |
[virtual]
bool on_click (hk_visible*)
| on_click |
[pure virtual]
executes the on_click action
bool on_doubleclick (hk_visible*)
| on_doubleclick |
[pure virtual]
executes the on_doubleclick action
bool before_row_change (hk_dsvisible*)
| before_row_change |
[pure virtual]
executes the before_row_change action
bool after_row_change (hk_dsvisible*)
| after_row_change |
[pure virtual]
executes the after_row_change action
bool before_update (hk_dsvisible*)
| before_update |
[pure virtual]
executes the before_update action
bool after_update (hk_dsvisible*)
| after_update |
[pure virtual]
executes the after_update action
bool before_delete (hk_dsvisible*)
| before_delete |
[pure virtual]
executes the before_delete action
bool after_delete (hk_dsvisible*)
| after_delete |
[pure virtual]
executes the after_delete action
bool before_insert (hk_dsvisible*)
| before_insert |
[pure virtual]
executes the before_insert action
bool after_insert (hk_dsvisible*)
| after_insert |
[pure virtual]
executes the after_insert action
bool on_close (hk_visible*)
| on_close |
[pure virtual]
executes the on_close action
bool on_open (hk_visible*)
| on_open |
[pure virtual]
executes the on_open action
bool on_print_data (hk_reportdata*)
| on_print_data |
[pure virtual]
executes the on_print_data action
bool on_print_new_page (hk_report*)
| on_print_new_page |
[pure virtual]
executes the on_print_new_page action
bool scripterror (void)
| scripterror |
Returns: true if the last executed script failed due to an error
hk_string errormessage (void)
| errormessage |
Returns: the script language specific errormessage
int error_rownumber (void)
| error_rownumber |
Returns: the row number of the script in which the error occured
hk_string interpretername (void)
| interpretername |
[const virtual]
Returns: the name of the scripting language
enum enum_action { a_before_row_change, a_after_row_change, a_click, a_doubleclick, a_onopen, a_onclose, a_before_update, a_after_update, a_before_delete, a_after_delete, a_before_insert, a_after_insert, a_on_print_data, a_on_print_new_page } | enum_action |
hk_presentation* p_presentation | p_presentation |
[protected]
bool p_error_occured | p_error_occured |
[protected]
hk_string p_errormessage | p_errormessage |
[protected]
int p_error_rownumber | p_error_rownumber |
[protected]