Each object in a form has its own programmable actions. General actions are
On click: script that will be executed when a mouse click on this object occurs
On doubleclick: script that will be executed when a mouse doubleclick on this object occurs
On open: script that will be executed when the form is created or put into viewmode
On close: script that will be executed when the form is closed or put into designmode
The global variable hk_this is set from hk_classes and represents the current object, in this case the button. show_warningmessage() is a method of this object, that allows you to display a string in a GUI independent way (as knoda is a KDE application it will be displayed as a KDE window but if you start it within a command line program it will be displayed on the standard output).
![]() | Other GUI-independent ways for user interaction are
|