| Description | Hierarchy | Fields | Methods | Properties | 
type unaWinConsoleApp = class(unaWinApp)
Simple console-like application main window class.
![]()  | 
constructor create(hasGUi: bool; const caption, copy: string; const iniFile: wString = ''; icon: hIcon = 0; captionHeight: unsigned = 32; btnExit: bool = true; btnStart: bool = false; btnStop: bool = false; style: unsigned = WS_OVERLAPPEDWINDOW; exStyle: unsigned = WS_EX_CONTROLPARENT); | 
![]()  | 
destructor Destroy(); override; | 
![]()  | 
function doInit(): bool; virtual; | 
![]()  | 
function onCommand(cmd, wnd: int): bool; override; | 
![]()  | 
function onDestroy(): bool; override; | 
![]()  | 
procedure idle(); override; | 
![]()  | 
procedure onStart(); virtual; | 
![]()  | 
procedure onStop(); virtual; | 
![]()  | 
property btnExit: unaWinButton read f_btnExit; | 
![]()  | 
property btnStart: unaWinButton read f_btnStart; | 
![]()  | 
property btnStop: unaWinButton read f_btnStop; | 
![]()  | 
property captionHeight: unsigned read f_captionHeight; | 
![]()  | 
property hasGUI: bool read f_hasGUI; | 
![]()  | 
constructor create(hasGUi: bool; const caption, copy: string; const iniFile: wString = ''; icon: hIcon = 0; captionHeight: unsigned = 32; btnExit: bool = true; btnStart: bool = false; btnStop: bool = false; style: unsigned = WS_OVERLAPPEDWINDOW; exStyle: unsigned = WS_EX_CONTROLPARENT); | 
| 
 Creates console-like window.  | |
![]()  | 
destructor Destroy(); override; | 
![]()  | 
function doInit(): bool; virtual; | 
| 
 This method can be used to perform additional initialization.  | |
![]()  | 
function onCommand(cmd, wnd: int): bool; override; | 
| 
 WM_COMMAND message handler. cmd values below 10 are reserved for internal usage.  | |
![]()  | 
function onDestroy(): bool; override; | 
| 
 WM_DESTROY message handler.  | |
![]()  | 
procedure idle(); override; | 
| 
 This method is used to display "console" memo messages.  | |
![]()  | 
procedure onStart(); virtual; | 
| 
 Called on the start of application.  | |
![]()  | 
procedure onStop(); virtual; | 
| 
 Called on the end of application.  | |
![]()  | 
property btnExit: unaWinButton read f_btnExit; | 
| 
 Exit button.  | |
![]()  | 
property btnStart: unaWinButton read f_btnStart; | 
| 
 Start button.  | |
![]()  | 
property btnStop: unaWinButton read f_btnStop; | 
| 
 Stop button.  | |
![]()  | 
property captionHeight: unsigned read f_captionHeight; | 
| 
 Height of upper panel with buttons.  | |
![]()  | 
property hasGUI: bool read f_hasGUI; | 
(c) 2012 Lake of Soft