#include <hk_button.h>
Inheritance diagram for hk_button:


Public Member Functions | |
| hk_button (hk_form *form=NULL) | |
| void | set_action (const hk_string &action, const hk_string &object, bool showmaximized=false, bool registerchange=true) |
| void | set_action (long action, const hk_string &object, bool showmaximized=false, bool registerchange=true) |
| virtual bool | push_action (void) |
| hk_string | object (void) |
| int | action (void) |
| bool | show_maximized (void) |
| void | set_database (hk_database *database) |
| hk_database * | database (void) |
| virtual void | loaddata (const hk_string &definition) |
| virtual void | savedata (ostream &s) |
| void | add_condition (const hk_string &reportfield, const hk_string &condition, const hk_string &formdatasource, const hk_string &formfield, bool registerchange=true) |
| list< struct_condition > * | conditions (void) |
| void | clear_conditions (bool registerchange=true) |
| virtual bool | load_icon (const hk_string &filename, bool registerchange=true) |
| struct_raw_data * | icon () |
| virtual void | show_icon () |
| virtual void | set_is_togglebutton (bool, bool registerchange=true, bool forcesetting=false) |
| bool | is_togglebutton (void) const |
| virtual bool | is_pushed () const |
| virtual void | set_is_pushed (bool, bool registerchange=true, bool forcesetting=false) |
Protected Member Functions | |
| virtual bool | widget_specific_open_form (void) |
| virtual bool | widget_specific_close_form (void) |
| virtual bool | widget_specific_open_table (void) |
| virtual bool | widget_specific_open_query (void) |
| virtual bool | widget_specific_open_view (void) |
| virtual bool | widget_specific_preview_report (void) |
| virtual bool | widget_specific_print_report (void) |
| virtual bool | widget_specific_close_application (void) |
| virtual bool | widget_specific_is_pushed (void) |
| hk_string | parsed_condition (hk_presentation *) |
Classes | |
| class | struct_condition |
|
|
|
|
|
loads the object's values out of the definition string. Especially used to load queries, forms and reports Reimplemented from hk_dsvisible. |
|
|
stores the object's values to stream s. Especially used to store queries, forms and reports Reimplemented from hk_dsvisible. |
|
||||||||||||||||||||
|
when the button is pushed the action will be executed on the object
set_action("open_form","test");
push_action();
push_action();
|
1.4.6