#include "FiveLinux.ch"
static oWnd
function Main()
local oBar
DEFINE WINDOW oWnd TITLE "Test" MENU BuildMenu()
DEFINE BUTTONBAR oBar OF oWnd
DEFINE BUTTON OF oBar ACTION MsgInfo( 1 )
DEFINE BUTTON OF oBar ACTION MsgInfo( 2 )
DEFINE BUTTON OF oBar ACTION MsgInfo( 3 )
ACTIVATE WINDOW oWnd
return nil
function BuildMenu()
local oMenu
MENU oMenu
MENUITEM "One" ACTION MsgInfo( 1 )
MENUITEM "Two" ACTION MsgInfo( 2 )
MENUITEM "Three" ACTION MsgInfo( 3 )
ENDMENU
return oMenu
oDlg:End()
Return to FiveLinux / FiveDroid (Android)
Users browsing this forum: No registered users and 18 guests