Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.dal.ca!dal1!keith From: keith@ac.dal.ca Newsgroups: comp.sys.mac.hypercard Subject: how detect opening of message box? Message-ID: <1287@ac.dal.ca> Date: 1 Mar 90 16:41:23 GMT Lines: 12 Organisation: Dalhousie University, Halifax, Nova Scotia, Canada I'm writing a stack which does keytrapping in one of its three editable fields. I'm using the XFCN called controlLock to turn the keytrapping on and off when the user goes from field to field by either tabbing or mousing. A problem arises when the user opens the message box and keytrapping is still on. I don't know how to detect this and turn the keytrapping off automatically. My only solution so far is to include a button when can be used to toggle the keytrapping manually. I'd like a more elegant solution. Does anyone know how to detect opening of the message box? Thanks. I posted this message previously and screwed up subject name. I don't know how to delete messages or change the subject name. Sorry for the inconvenience. Keith