- Code: Select all Expand view
- #include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd, oMenu, oTimer
MENU oMenu 2007
MENUITEM "Test"
MENU
MENUITEM "Test" CHECKED
ENDMENU
ENDMENU
DEFINE WINDOW oWnd;
MENU oMenu
DEFINE TIMER oTimer OF oWnd;
INTERVAL 3000;
ACTION ( TONE( 440, 1 ), oMenu:aItems[ 1 ]:bAction:aItems[ 1 ]:SetPrompt( "Changed" ) )
ACTIVATE TIMER oTimer
ACTIVATE WINDOW oWnd
RELEASE TIMER oTimer
RETURN NIL
EMG