Databaseconnectionclasses
0.5.3
|
base class for forms More...
#include <hk_form.h>
Public Types | |
enum | enum_include { include_data, no_data } |
![]() | |
enum | enum_presentationtype { general, form, report, qbe, referentialintegrity } |
enum | enum_bulkoperation { bulkfont, bulkforeground, bulkbackground } |
enum | enum_sizetype { relative, absolute } |
![]() | |
enum | enum_mode { designmode, viewmode, filtermode } |
![]() | |
enum | enum_visibletype { textlabel, button, rowselector, boolean, lineedit, memo, combobox, grid, form, report, reportsection, reportdata, query, subform, image, date, tabvisible, other } |
enum | alignmenttype { alignleft, alignright, aligncenter, aligndefault } |
![]() | |
enum | enum_interaction { noninteractive, interactive } |
enum | enum_measuresystem { cm, inch } |
enum | enum_tagtype { normaltag, mastertag } |
Public Member Functions | |
hk_dsgrid * | new_grid (void) |
hk_dslineedit * | new_lineedit (void) |
hk_dsboolean * | new_bool (void) |
hk_dscombobox * | new_combobox (void) |
hk_button * | new_button (void) |
hk_dsrowselector * | new_rowselector (void) |
hk_dsmemo * | new_memo (void) |
hk_label * | new_label (void) |
hk_subform * | new_subform (void) |
hk_dsdate * | new_date (void) |
hk_dsimage * | new_image (void) |
hk_tabvisible * | new_tabvisible (void) |
bool | save_form (const hk_string &name="", bool ask=true) |
bool | load_form (const hk_string &name="") |
virtual void | savedata (ostream &s) |
virtual void | loaddata (xmlNodePtr definition) |
virtual void | set_designsize (unsigned int width, unsigned int height, bool registerchange=true) |
hk_visible * | get_visible (long nr) |
hk_visible * | get_visible (const hk_string &identifier) |
virtual void | bulk_operation (enum_bulkoperation bulkoperation) |
virtual bool | set_mode (enum_mode s) |
hk_form * | masterform (void) const |
void | clear_visiblelist (void) |
void | set_taborder (list< int > t, bool registerchange=true, bool forcesetting=true) |
list< int > | taborder () const |
hk_visible * | taborder_previous (hk_visible *) |
hk_visible * | taborder_next (hk_visible *) |
hk_visible * | first_tabobject () |
hk_visible * | last_tabobject () |
virtual void | goto_taborder_next () |
virtual void | goto_taborder_previous () |
virtual void | goto_taborder_first () |
virtual void | goto_taborder_last () |
virtual void | set_focus (hk_visible *) |
list< hk_visible * > * | visibles (void) |
bool | is_subform () const |
virtual bool | is_subpresentation (void) |
virtual bool | show_asdialog (hk_form *parentform=NULL) |
virtual int | screen_width () |
virtual int | screen_height () |
bool | while_load_form (void) const |
virtual bool | while_loading (void) |
hk_string | form2html (enum_include i=no_data) |
![]() | |
void | set_database (hk_database *db) |
hk_database * | database (void) const |
enum_presentationtype | presentationtype (void) const |
void | set_name (const hk_string &n) |
hk_string | name (void) const |
list< hk_datasource * > * | datasources (void) const |
long | new_datasource (const hk_string &name, datasourcetype dt=dt_table) |
hk_datasource * | get_datasource (long nr) |
hk_datasource * | get_datasource (const hk_string &description) |
hk_datasource * | get_datasource_by_shortname (const hk_string &description) |
hk_string | unique_datasourcename (long nr) |
hk_string | unique_shortdatasourcename (long nr) |
void | clear_datasourcelist (void) |
void | set_designsize (unsigned int width, unsigned int height, bool registerchange=true) |
virtual void | set_presentationsize (unsigned int, unsigned int) |
unsigned int | designwidth (void) |
unsigned int | designheight (void) |
unsigned int | horizontal2relativ (unsigned int h) |
unsigned int | vertical2relativ (unsigned int v) |
unsigned int | relativ2horizontal (unsigned int r) |
unsigned int | relativ2vertical (unsigned int r) |
virtual void | register_object (hk_visible *) |
void | set_automatic_enable_datasources (bool) |
bool | automatic_enable_datasources (void) |
void | set_sizetype (enum_sizetype type, bool registerchange=true) |
enum_sizetype | sizetype (void) |
hk_interpreter * | interpreter (void) |
virtual void | script_error (hk_visible *, hk_interpreter::enum_action) |
void | set_interpretername (const hk_string &, bool registerchange=true) |
hk_string | interpretername (void) const |
void | enable_datasources (bool enable, hk_datasource::enum_accessmode mode=hk_datasource::standard) |
virtual bool | intervaltasks (void) |
bool | load_module (const hk_string &modulename) |
![]() | |
hk_dsmodevisible (hk_presentation *presentation=NULL) | |
virtual void | set_designmode (void) |
virtual void | set_viewmode (void) |
enum_mode | mode (void) const |
bool | has_changed (void) const |
void | has_changed (bool) |
void | set_block_has_changed (bool) |
bool | block_has_changed (void) const |
virtual void | reset_has_changed (void) |
bool | is_new () const |
![]() | |
hk_dsvisible (hk_presentation *presentation=NULL) | |
virtual void | set_datasource (hk_datasource *d) |
virtual bool | set_presentationdatasource (long n, bool registerchange=true) |
long | presentationdatasource (void) |
hk_datasource * | datasource (void) |
virtual void | savedata (ostream &s, bool savedatasource, bool saveall) |
void | set_readonly (bool readonly) |
bool | is_readonly (void) const |
void | set_before_row_change_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_row_change_action (void) |
void | set_after_row_change_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_row_change_action (void) |
void | set_before_update_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_update_action (void) |
void | set_after_update_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_update_action (void) |
void | set_before_delete_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_delete_action (void) |
void | set_after_delete_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_delete_action (void) |
void | set_before_insert_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_insert_action (void) |
void | set_after_insert_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_insert_action (void) |
virtual hk_string | tag_value (int tagnumber, bool &ok) |
virtual void | action_before_store_changed_data (void) |
virtual void | action_after_store_changed_data (void) |
virtual void | action_before_row_change (void) |
virtual void | action_after_row_change (void) |
virtual void | action_before_delete (void) |
virtual void | action_after_delete (void) |
virtual void | action_before_insert (void) |
virtual void | action_after_insert (void) |
![]() | |
hk_visible (hk_presentation *p=NULL) | |
void | set_x (unsigned int px, bool registerchange=true) |
void | set_y (unsigned int py, bool registerchange=true) |
void | set_width (unsigned int w, bool registerchange=true) |
void | set_height (unsigned int h, bool registerchange=true) |
unsigned int | x (void) const |
unsigned int | y (void) const |
unsigned int | width (void) const |
unsigned int | height (void) |
void | set_size (unsigned int x, unsigned int y, unsigned int w, unsigned int h, bool registerchange=true) |
void | set_size (unsigned int x, unsigned int y, unsigned int w, unsigned int h, bool registerchange, bool force_setting) |
void | set_size (unsigned int width, unsigned int height, bool registerchange=true) |
void | set_position (unsigned int x, unsigned int y, bool registerchange=true) |
void | set_label (const hk_string &l, bool registerchange=true) |
void | set_label (const hk_string &l, bool registerchange, bool force_setting) |
hk_string | label (void) |
bool | set_identifier (const hk_string &, bool registerchange=true, enum_interaction=interactive) |
hk_string | identifier (void) const |
enum_visibletype | type (void) |
void | set_font (const hk_string &font, int size, bool registerchange=true) |
void | set_font (const hk_string &font, int size, bool registerchange, bool force_setting) |
void | set_font (const hk_font &font, bool registerchange=true) |
void | set_font (const hk_font &font, bool registerchange, bool force_setting) |
virtual hk_font | font (void) |
void | set_foregroundcolour (const hk_colour &colour, bool registerchange=true) |
void | set_foregroundcolour (const hk_colour &colour, bool registerchange, bool force_setting) |
hk_colour | foregroundcolour (void) |
void | set_backgroundcolour (const hk_colour &colour, bool registerchange=true) |
void | set_backgroundcolour (const hk_colour &colour, bool registerchange, bool force_setting) |
hk_colour | backgroundcolour (void) |
void | set_neverregisterchange (bool n) |
void | set_neverregisterchange (bool n, bool force_setting) |
bool | neverregisterchange (void) |
long | presentationnumber (void) const |
void | set_datetimeformat (const hk_string &datetime, const hk_string &date, const hk_string &time) |
void | set_datetimeformat (const hk_string &datetime, const hk_string &date, const hk_string &time, bool force_setting) |
hk_string | datetimeformat (void) |
hk_string | dateformat (void) |
hk_string | timeformat (void) |
void | set_counts_as (unsigned long int c) |
virtual void | set_counts_as (unsigned long int c, bool force_setting) |
virtual unsigned long int | counts_as (void) |
virtual hk_string | replace (const hk_string &where) |
hk_presentation * | presentation (void) |
void | set_load_presentationnumber (bool l) |
void | set_load_presentationnumber (bool l, bool force_setting) |
bool | load_presentationnumber (void) |
void | set_alignment (alignmenttype a, bool registerchange=true) |
void | set_alignment (alignmenttype a, bool registerchange, bool force_setting) |
alignmenttype | alignment (void) |
void | set_tooltip (const hk_string &, bool registerchange=true, bool force_setting=false) |
hk_string | tooltip (void) |
virtual void | show_widget (void) |
virtual void | hide_widget (void) |
virtual bool | close_widget (void) |
virtual void | lower_widget (bool registerchange=true) |
virtual void | raise_widget (bool registerchange=true) |
void | set_on_click_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_click_action (void) |
void | set_on_doubleclick_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_doubleclick_action (void) |
void | set_on_open_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_open_action (void) |
void | set_on_close_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_close_action (void) |
void | set_on_getfocus_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_getfocus_action (void) |
void | set_on_loosefocus_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_loosefocus_action (void) |
void | set_on_key_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_key_action (void) |
void | set_key (const hk_key &) |
hk_key * | key () const |
void | set_enabled (bool enabled, bool registerchange=true, bool force_setting=false) |
bool | is_enabled () |
virtual bool | action_on_click (void) |
virtual bool | action_on_doubleclick (void) |
virtual bool | action_on_close (void) |
virtual bool | action_on_open (void) |
virtual bool | action_on_getfocus (void) |
virtual bool | action_on_loosefocus (void) |
virtual bool | action_on_key (void) |
bool | in_tabvisible (void) const |
void | set_buddylabel (long int labelid, bool registerchange=true, bool force_setting=false) |
long int | buddylabel (void) const |
void | set_movebuddylabel (bool) |
bool | move_buddylabel (void) const |
int | tag_number (const hk_string &) |
virtual hk_string | column_value (const hk_string &colname, bool &ok) |
hk_string | tag_value (const hk_string &, bool &ok) |
int | register_tag (const hk_string &) |
![]() | |
void | hkclassname (const hk_string &n) |
hk_string | hkclassname (void) const |
void | hkdebug (const hk_string &d) const |
void | hkdebug (const hk_string &d, const hk_string &e) const |
void | hkdebug (const hk_string &d, int i) const |
void | hkdebug (const hk_string &d, double i) const |
void | wanna_debug (bool d) |
bool | wanna_debug (void) const |
bool | generaldebug (void) |
Protected Member Functions | |
bool | set_formbasedfilter () |
void | set_masterform (hk_form *) |
virtual hk_dsgrid * | widget_specific_new_grid (void) |
virtual hk_dsrowselector * | widget_specific_new_rowselector (void) |
virtual hk_dslineedit * | widget_specific_new_lineedit (void) |
virtual hk_dsboolean * | widget_specific_new_bool (void) |
virtual hk_button * | widget_specific_new_button (void) |
virtual hk_dscombobox * | widget_specific_new_combobox (void) |
virtual hk_dsmemo * | widget_specific_new_memo (void) |
virtual hk_label * | widget_specific_new_label (void) |
virtual hk_subform * | widget_specific_new_subform (void) |
virtual hk_dsdate * | widget_specific_new_date (void) |
virtual hk_dsimage * | widget_specific_new_image (void) |
virtual hk_tabvisible * | widget_specific_new_tabvisible (void) |
virtual void | widget_specific_fieldresize (hk_visible *v) |
virtual void | widget_specific_after_loadform (void) |
void | remove_visible (hk_visible *v) |
hk_visible * | new_object (const hk_string &name) |
void | raise_widget (hk_visible *) |
void | lower_widget (hk_visible *) |
virtual void | sizetype_changed (void) |
void | set_subformobject (hk_subform *) |
hk_subform * | subformobject () const |
![]() | |
void | remove_datasource (long nr, bool registerchange=true) |
virtual void | widget_specific_presentationresize (void) |
virtual void | widget_specific_set_name (void) |
void | database_delete (void) |
virtual void | database_has_vanished (void) |
void | before_source_vanishes (void) |
bool | ask_name (void) |
![]() | |
virtual void | set_has_changed (enum_has_changed forcesetting=standard) |
virtual void | widget_specific_modechanges (enum_mode) |
virtual bool | widget_specific_before_modechanges (enum_mode) |
![]() | |
void | row_change (void) |
void | batch_next (void) |
void | batch_previous (void) |
void | insert_mode (void) |
virtual void | widget_specific_insert_mode (void) |
virtual bool | widget_specific_row_change (void) |
virtual void | widget_specific_batch_next (void) |
virtual void | widget_specific_batch_previous (void) |
virtual void | widget_specific_enable_disable (void) |
virtual void | widget_specific_enable (void) |
virtual void | widget_specific_disable (void) |
virtual void | widget_specific_row_added (void) |
virtual void | widget_specific_row_deleted (void) |
virtual void | before_row_change (void) |
virtual void | before_store_changed_data (void) |
virtual void | after_store_changed_data (void) |
virtual void | before_insert_row (void) |
virtual void | before_datasource_enables (void) |
virtual bool | datasource_disable (void) |
virtual bool | datasource_enable (void) |
virtual void | datasource_delete (void) |
virtual void | row_added (void) |
virtual void | row_deleted (void) |
virtual bool | columns_new_created (void) |
virtual void | list_changes (listtype type) |
virtual bool | before_columns_deleted (void) |
virtual bool | table_structure_changes (void) |
virtual void | widget_specific_presentationdatasource (long) |
virtual bool | presentationmode_changed (void) |
![]() | |
virtual void | widget_specific_form_resizes (void) |
virtual void | widget_specific_font_changed (void) |
virtual void | widget_specific_label_changed (void) |
virtual void | widget_specific_foregroundcolour_changed (const hk_colour &oldcolour) |
virtual void | widget_specific_backgroundcolour_changed (const hk_colour &oldcolour) |
virtual bool | widget_specific_coordinates (unsigned int px, unsigned int py, unsigned int pwidth, unsigned int pheight) |
virtual void | widget_specific_raise_widget (void) |
virtual void | widget_specific_lower_widget (void) |
virtual void | widget_specific_tooltip_changed (void) |
virtual void | widget_specific_enabled_changed (void) |
virtual void | before_presentationmode_changed (void) |
virtual void | widget_specific_alignment (void) |
virtual void | widget_specific_sizetype_changed (void) |
bool | allow_datachanging (bool force_setting) |
void | has_changed (bool registerchange, enum_has_changed force_setting=standard) |
void | set_tabvisible (hk_tabvisible *) |
![]() | |
hk_interpreter * | new_interpreter (const hk_string &interpreter, hk_presentation *) |
Friends | |
class | hk_dsvisible |
class | hk_visible |
class | hk_subform |
Additional Inherited Members | |
![]() | |
static void | set_defaultsizetype (enum_sizetype type) |
static enum_sizetype | defaultsizetype (void) |
static void | set_snap2gridx (int) |
static int | snap2gridx (void) |
static void | set_snap2gridy (int) |
static int | snap2gridy (void) |
![]() | |
static void | set_defaulttextalignment (alignmenttype a) |
static alignmenttype | defaulttextalignment (void) |
static void | set_defaultnumberalignment (alignmenttype a) |
static alignmenttype | defaultnumberalignment (void) |
static void | set_open_maximized_windows (bool m) |
static bool | open_maximized_windows (void) |
![]() | |
static void | set_generaldebug (bool d) |
static hk_string | hk_translate (const hk_string &t) |
static void | show_warningmessage (const hk_string &m) |
static void | set_warningmessage (messagewindowtype *m) |
static bool | show_yesnodialog (const hk_string &m, bool default_value) |
static void | set_yesnodialog (yesno_dialogtype *d) |
static hk_string | show_stringvaluedialog (const hk_string &t) |
static void | set_stringvaluedialog (stringvalue_dialogtype *t) |
static void | set_translatefunction (translatefunctiontype *t) |
static void | set_filedialog (file_dialogtype *f) |
static hk_string | show_filedialog (const hk_string &f="", enum_operationmode m=file_open) |
static void | set_directorydialog (stringvalue_dialogtype *f) |
static hk_string | show_directorydialog (const hk_string &f="") |
static void | set_showpedantic (bool s) |
static bool | showpedantic (void) |
static void | set_measuresystem (enum_measuresystem) |
static enum_measuresystem | measuresystem (void) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, hk_string &value, int position=1, enum_tagtype tagtype=normaltag) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, unsigned long &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, unsigned int &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, long &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, int &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, bool &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr &where, const hk_string &tag) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, const hk_string &value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, unsigned long value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, unsigned int value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, long value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, int value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, bool value) |
static void | start_mastertag (ostream &stream, const hk_string &tag) |
static void | end_mastertag (ostream &stream, const hk_string &tag) |
static void | set_defaultdatetimeformat (const hk_string &timeformat, const hk_string &dateformat, const hk_string &datetimeformat) |
static hk_string | defaultdateformat (void) |
static hk_string | defaulttimeformat (void) |
static hk_string | defaultdatetimeformat (void) |
static void | save_preferences (void) |
static bool | runtime_only (void) |
static void | set_locale (const hk_string &locale) |
static hk_string | locale (void) |
static void | set_defaultdriver (const hk_string &d) |
static hk_string | defaultdriver (void) |
static void | set_default_automatic_data_update (bool) |
static bool | default_automatic_data_update (void) |
![]() | |
enum | enum_has_changed { standard, forcesetting } |
![]() | |
enum_presentationtype | p_presentationtype |
unsigned int | p_actualwidth |
unsigned int | p_actualheight |
bool | p_while_errorhandling |
![]() | |
bool | p_is_new |
![]() | |
hk_datasource * | p_datasource |
hk_datetime | p_date |
hk_string | debug_p_columnname |
![]() | |
hk_presentation * | p_presentation |
enum_visibletype | p_visibletype |
bool | p_setcoordinates |
bool | p_setwidgetcoordinates |
bool | while_init |
![]() | |
static hk_string | p_defaulttimeformat ="h:m:s" |
static hk_string | p_defaultdateformat ="D.M.Y" |
static hk_string | p_defaultdatetimeformat ="D.M.Y h:m:s" |
static bool | p_runtime_only =false |
base class for forms
void hk_form::clear_visiblelist | ( | void | ) |
resets the internal visible objects list and deletes all visible objects
References hk_class::hkdebug().
Referenced by loaddata().
|
inlinevirtual |
will move the the focus to the first widget (see set_taborder )
|
inlinevirtual |
will move the the focus to the last widget (see set_taborder )
|
inlinevirtual |
will move the the focus to the next widget (see set_taborder )
|
inlinevirtual |
will move the the focus to the previous widget (see set_taborder )
bool hk_form::load_form | ( | const hk_string & | name = "" | ) |
load the form from a file
name | the name of the file |
References hk_class::hk_translate(), hk_class::hkdebug(), loaddata(), save_form(), hk_dsmodevisible::set_mode(), hk_presentation::set_name(), and hk_class::show_warningmessage().
|
virtual |
loads the object's values out of the definition string. Especially used to load queries, forms and reports
Reimplemented from hk_presentation.
References clear_visiblelist(), hk_class::get_tagvalue(), hk_class::hkdebug(), hk_presentation::loaddata(), and hk_visible::loaddata().
Referenced by load_form().
hk_form * hk_form::masterform | ( | void | ) | const |
if this is a subform it will return master form it belongs to
hk_dsboolean * hk_form::new_bool | ( | void | ) |
the form has to be in design mode to use this function! The function will create a new bool field in the upper left corner.
References hk_class::hkdebug(), hk_visible::set_backgroundcolour(), and hk_visible::set_foregroundcolour().
hk_button * hk_form::new_button | ( | void | ) |
the form has to be in design mode to use this function! The function will create a new button in the upper left corner.
References hk_class::hkdebug().
hk_dscombobox * hk_form::new_combobox | ( | void | ) |
the form has to be in design mode to use this function! The function will create a new combobox in the upper left corner.
References hk_class::hkdebug().
hk_dsgrid * hk_form::new_grid | ( | void | ) |
the form has to be in design mode to use this function! The function will create a new grid in the upper left corner.
References hk_class::hkdebug().
hk_label * hk_form::new_label | ( | void | ) |
the form has to be in design mode to use this function! The function will create a new textlabel in the upper left corner.
References hk_class::hkdebug(), hk_visible::set_backgroundcolour(), and hk_visible::set_foregroundcolour().
hk_dslineedit * hk_form::new_lineedit | ( | void | ) |
the form has to be in design mode to use this function! The function will create a new lineeidt field in the upper left corner.
References hk_class::hkdebug().
hk_dsmemo * hk_form::new_memo | ( | void | ) |
the form has to be in design mode to use this function! The function will create a new memofield in the upper left corner.
References hk_class::hkdebug(), hk_visible::set_backgroundcolour(), and hk_visible::set_foregroundcolour().
hk_dsrowselector * hk_form::new_rowselector | ( | void | ) |
the form has to be in design mode to use this function! The function will create a new row selector in the upper left corner.
References hk_class::hkdebug(), hk_visible::set_backgroundcolour(), and hk_visible::set_foregroundcolour().
bool hk_form::save_form | ( | const hk_string & | name = "" , |
bool | ask = true |
||
) |
save the form to a file
name | the name of the file |
ask | if true and the form already exists you will be asked before the old form will be overwritten |
References hk_class::hk_translate(), hk_class::hkdebug(), hk_database::save(), savedata(), hk_database::savestream(), hk_presentation::set_name(), and hk_class::show_warningmessage().
Referenced by load_form().
|
virtual |
stores the object's values to stream s. Especially used to store queries, forms and reports
Reimplemented from hk_presentation.
References hk_class::end_mastertag(), hk_class::hkdebug(), hk_presentation::savedata(), hk_class::set_tagvalue(), and hk_class::start_mastertag().
Referenced by save_form().
|
virtual |
sets the real size of the form. If you designed a form in i.e. 800x600 resolution and want to watch it with 1024x768 resolution, set this to 1024x768. Dynamic sized visible objects will be resized. All objects will be positioned new.
References hk_class::hkdebug(), and hk_presentation::set_designsize().
|
inlinevirtual |
will set the focus to the visible object
|
virtual |
if mode is design then you can define or alter a presentation else the data will be shown
Reimplemented from hk_presentation.
References hk_presentation::set_mode().
void hk_form::set_taborder | ( | list< int > | t, |
bool | registerchange = true , |
||
bool | forcesetting = true |
||
) |
sets the tab order (the focus order) of the widgets.
t | list of the presentation numbers of the widgets, which should get the focus |