>Robert > > >DIM FontName$ >DIM itID,MenuH > >MenuH = FN GETMHANDLE(_mFont) // Your Menu id here. >FontName$ = "Arial" >call GETITEM(MenuH,itID,FontName$) >Def CheckOneitem(_mFont,itID) > >Seems right but I can't get it to work. Did it work for you in the example? > >Martin I just investigated all over Inside Mac, and GetItem doesn't even seem to exist... GetMenuItemText is recommended. However, that doesn't return the item from the text, but gives the text of an itemID. ? Zounds. I have functioning twilight zone code apparently. rc >> >If I want to set a default font of Geneva how do I go about checking it >> >as selected in the FONT menu? >> > >> >I have been experimenting with "Text Edit Menus.Bas" in the Release 6 >> >Examples but notice that that example doesn't check the font either. >> > >> > >> >Martin >> >> Try this. >> >> DIM FontName$ >> DIM itemID >> >> MenuH = FN GETMHANDLE(_FontPopup) // Your Menu id here. >> FontName$ = "Geneva" >> call GETITEM(MenuH,itemId,FontName$) >> Def CheckOneitem(_FontPopup,itemId) // Your Menu id here. >> >> rc >> >> -- >> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...> > > > > > >-- >To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>