[futurebasic] Displaying a about box from the application menu

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2004 : Group Archive : Group : All Groups

From: Brian Heibert <bheibert@...>
Date: Tue, 17 Aug 2004 16:43:42 -0500
I am trying to get the application menu to display my window (the about box)
What am I doing wrong?   I know I haven't developed a real about box yet, I
am just doing window #355 , PRINT "About" to test the menu handler


LOCAL FN doMenus
menuid = Menu(_menuID)
itemid = Menu(_itemID)
Menu
LONG IF MenuID = 255 and itemID = 1
WINDOW #355
PRINT "About"
DO
UNTIL MOUSE(_down)
END IF
END FN

ON MENU FN doMenus

Do
HANDLEEVENTS
UNTIL 0

Brian

PS: I am using OS X 10.3.5