Greg Engelkemeir wrote: > Up till now I've just used FB's built in buttons, edit fields, etc. Now I'm > trying to expand into using toolbox controls, specifically those I've swiped > from the "AppearanceParade" demo. My question is: How do I get the event > loop to recognize when a control has been hit and which one it was? Not sure what you're using/doing, Greg, but If you're creating the buttons with FB BUTTON Statements, the following should help: ON DIALOG 'In the Main Event Loop of your Program calls FN doDialog 'Which should have something like the following LOCAL FN doDialog DIM evnt% DIM id% evnt% = DIALOG(0) id% = DIALOG(evnt%) SELECT CASE evnt% CASE _wndClose END CASE _btnClick 'All btns that are clicked come through here SELECT CASE id% 'This is the Button's number CASE _btnNo1 'A button's number 'Have it do something here CASE _btnNo2 'Another button's number 'Have this one do something here END SELECT CASE ELSE 'All the other events END SELECT END FN If you're drawing them yourself with ToolBox calls, and the like, then I suggest you not do that; however, if you do, then you've got a lot of work ahead of you. Staz is in the process, with the help of several guys on this list, of incorporating the Appearance Mgr Controls into BUTTON, EDIT FIELD statements, etc.; so I'd wait just a little bit. I'm assuming here that you're using FB^3. If not, getting FB^3, would be my suggestion. HTH - a little, Joe Wikins PS -- I'm probably the only guy dumb enough to be online on a Friday evening, but I am watch ESPN2 Friday Night Fights. Much rougher than FB. < smile >