Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!jetson.uh.edu!inde5py From: inde5py@jetson.uh.edu Newsgroups: comp.sys.mac.hypercard Subject: Questions about fields Message-ID: <8652.27cba365@jetson.uh.edu> Date: 27 Feb 91 18:17:41 GMT Organization: University of Houston Lines: 31 Hi all, I havbe several questions regarding fields in HyperCard. I am writing a stack that has many one-line fields. When the user presses the RETURN key, the cursor disappears to the next (hidden) line of the field. I would like the cursor to advance to the next field instead. I tried using a "on ReturnKey" handler in the field script with no result. Did I do something wrong, or am I looking at this from the wrong angle entirely? Also, that question brings up another one: when tabbing from one field to the next, I have written scripts so that the cursor goes from field to field in a specific order (not the order in which they were created, which is ehat HyperCard normally does). To do this, I wrote an "On tabkey" handler that would "click at the location of field "***"'. This does put the cursor in the appropriate field, but leaves the cursor in the middle of the field. I would like to hilite the entire field like HyperCard does when you press the tab key and no script is written-- the cursor automatically advances to the next field and hilightes the entry. Also, is there a simple way of locking the text in all fields after all data is entered? The only thing I can think of is to "set" the parameter individually for each field--pain! Lastly, is there any way of creating a horizontally-scrolling field? I seriously doubt it, but you guys are the ones with all the answers, so if anyone can tall me how, I'm sure you guys can. Thanks for the help! Answers can be posted or E-mailed to INDE5PY@JETSON.UH.EDU Thanks again!