function NewApplet( const Caption: KOLString ): PControl;
Creates applet button window, which has to be parent of all other forms in your project (but this is *not must*). See also comments about NewForm.
Following methods, properties and events are useful to work with applet control:
procedure Run( var AppletCtl: PControl ); |
|
---|---|
property OnMessage: TOnMessage; |
|
procedure Close; |
|
procedure IconLoad( Inst: Integer; ResName: PKOLChar ); |
|
procedure IconLoadCursor( Inst: Integer; ResName: PKOLChar ); |
|
procedure Show; |
|
procedure Hide; |
|
function IsMainWindow: Boolean; |
|
function ProcessMessage: Boolean; |
|
procedure ProcessMessages; |
|
procedure ProcessPendingMessages; |
|
property Icon: HIcon; |
|
property Caption: KOLString; |
|
property ModalForm: PControl; |