Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!pacbell.com!pacbell!pbhyg!mwan From: mwan@PacBell.COM (Miu Wang) Newsgroups: comp.sys.mac.hypercard Subject: problem with returnInField Keywords: HC 2.0 pass handler Message-ID: <2419@pbhyg.PacBell.COM> Date: 2 Dec 90 23:39:47 GMT Organization: Pacific * Bell, San Ramon, CA Lines: 34 Help...I've just started playing with HC 2.0 and have a proble with the "returnInField" message. I have a script: on returnInField do something pass returnInField end returnInfield What I want to do is to "do something" when the user types a "return" in a text field, then have the system do its normal thing (put a return character in the text field and move the insertion point to the beginning of the next line in the field and allow the user to continue typing. But HC does not return control to the text field after the "do something". Bummer... This script works fine: on returnInField pass returnInField end returnInField i.e., "do something" is "nothing", then I get a new line in the text field and I can continue typing. but when "do something" exists, the "pass return- Infield" does not work and I lose the insertion point. Another problem. In the Power Tools stack, there is a windoid called "Super Grouper". I cannot get the group button to work. I can get the other buttons to work (not really, since I cannot group objects, and the move and align tools complain "no objects grouped") so I definitely have the scripts in my message passing hierarchy. Any ideas on what I'm doing wrong??? ------------------------------------------------------------------------------ Miu Wang 415-867-6476 ------------------------------------------------------------------------------ This space provided by permission of the Minister of Disinformation...... :-)