On Jun 13, 2007, at 8:35 PM, Brian Heibert wrote: > Hi, > > Currently I got a popdown menu in my project is it possible to turn > it into a popdown list instead? > > local fn BuildListMenu(id as long,items as str255) > dim as Handle popH > > menu id, 0, _enable, "" > menu id, 1, _enable, items > popH = fn GetMenuHandle(id) > DeleteMenu(id) > InsertMenu(popH,-1) > > end fn > > > dim itemsX$ > itemsX$ = "Document;Alert;Movable Alert;Modal;Movable > Modal;Floating;Sheet;Plain;Sheet Alert;Alt Plain" 'menu items for > popup > fn BuildListMenu(_FBWinGeneratorWnd,itemsX) > setrect (r,400,300,600,500) > appearance button _listmenu,_activeBtn,,_FBWinGeneratorWnd,-1,"", > @r,_kControlPopupButtonProc > > Brian ============================= Probably not. The note below says you can't change the type of an appearance button after it is created. So, it's not possible to change the popdown menu to a popdown list. Or maybe you could delete the menu and create list with the same id # and items. From FB HELP ---> for APPEARANCE BUTTON...