Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!ux1.cso.uiuc.edu!news From: dmmg1176@uxa.cso.uiuc.edu (David M Marcovitz) Newsgroups: comp.sys.mac.programmer Subject: Get Text from a Dialog Message-ID: <1991Feb8.204416.390@ux1.cso.uiuc.edu> Date: 8 Feb 91 20:44:16 GMT Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 15 I am trying to copy text from an editText item in a Dialog box into a Str255 variable. I am using Think C 4.0. I did a GetDItem followed by either the GetIText routine in the toolbox, or GetTextHandle (from the CStaticText class in the Think Class Library). Either way, I keep getting a bus error. There must be a simple way to get text from an editText item in a Dialog box either using TCL or toolbox calls. Could someone please send me a brief explanation of how to do this. HELP!! -- David M. Marcovitz | internet: marcovitz@uiuc.edu Computer-based Education Research Lab | dmmg1176@uxa.cso.uiuc.edu University of Illinois | novanet: marco / cca / cerl