|
Creates a function button for a mobile device window that is being defined. Used inside WindowBegin/EndWindow block. |
|
Id |
The unique ID for the function button. |
Caption |
Text that will be drawn on the button. |
HalFunRef |
Reference to HAL defined function that will be executed when the button is pressed. |
StdFun |
Reference to standard function that will be executed when the button is pressed. |
|
event DefineWindows
begin
SetLangMode(LangEnglish,"SYENG",0);
WindowBegin("Calendar - Overview",HalfYearWClass,CGother,RcType);
UseView(RcVc);
BrowseButtons(true);
SetWRect(20,80,635,405);
Sizeable(447,100,0,0);
FunctionButton(1,"Open","",ToolOK);
FunctionButton(2,"New","NewActivityTool",0);
FunctionButton(3,"Report","OpenActTodoRClass",0);
FunctionButton(4,"Close","",ToolClose);
EndWindow;
return;
end;
««