Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!lll-winken!aunro!alberta!edson!news From: mikulin@ee.ualberta.ca (David Mikulin) Newsgroups: comp.lang.pascal Subject: Pascal for Windows Query Message-ID: <1991May26.223704.14180@ee.ualberta.ca> Date: 26 May 91 22:37:04 GMT References: <26968@adm.brl.mil> <1991May22.170309.1362@uwasa.fi> <91143.174118SPRAGGEJ@QUCDN.QueensU.CA> Sender: mikulin@bode.ee.ualberta.ca Organization: University of Alberta Electrical Engineering Lines: 11 I have been trying to set the focus on an item in a dialog box using Turbo Pascal for Windows. I need to be able to make an edit line become the focused item after a certain button has been pressed in a dialog without closing the dialog box first. I am using the Object Windows library and have found out how to act on the button press but I don't know how to reset the focused item to the edit line afterwards. The button remains focused after and this is not the desired effect. Can anyone help me? -mikulin@bode.ee.ualberta.ca