Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!cs290ac From: cs290ac@ux1.cso.uiuc.edu Newsgroups: comp.sys.mac.hypercard Subject: supercard problem Message-ID: <18200006@ux1.cso.uiuc.edu> Date: 7 Aug 90 23:44:00 GMT Lines: 20 Nf-ID: #N:ux1.cso.uiuc.edu:18200006:000:1079 Nf-From: ux1.cso.uiuc.edu!cs290ac Aug 7 18:44:00 1990 I've got a bad supertalk problem. What I want is to have a scrolling window with two fields inside which, when clicked at, the line being clicked at changes its text style to bold. After some digging, I found that I could change the text style of portions of a field by selecting the desired portion, then changing the text style of the field. Only the selected portion is affected. Great. The only problem is that I find out what line was clicked by using a list field, which apparently doesn't use selections at all. When you select text in a list field using the select command, nothing happens. I also can't use regular, non-list fields because I need to find out the line NUMBER being clicked (I can't use the method of double clicking at the location of the cursor). The only way I know of finding the line number being clicked at in a regular field is to use a hypertalk function called clickline. This won't work because when it tries to get the textheight of the field, supercard returns "mixed" rather than a number. Any help would be greatly appreciated. --RS