home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.tek.com!ogicse!cs.uoregon.edu!news.uoregon.edu!nntp.uoregon.edu!oregon.uoregon.edu!derthanq
- From: derthanq@oregon.uoregon.edu (Victor Der-Thanq Chen)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: How to get rid of the clicktext
- Message-ID: <10NOV199214103457@oregon.uoregon.edu>
- Date: 10 Nov 92 22:10:00 GMT
- Article-I.D.: oregon.10NOV199214103457
- References: <4NOV199220221807@oregon.uoregon.edu> <1992Nov6.104053.1@csc.canterbury.ac.nz>,<5NOV199219443992@oregon.uoregon.edu> <1992Nov10.180454.9738@ultb.isc.rit.edu>
- Sender: news@nntp.uoregon.edu
- Organization: University of Oregon
- Lines: 32
- News-Software: VAX/VMS VNEWS 1.41
-
- In article <1992Nov10.180454.9738@ultb.isc.rit.edu>, cad0410@ritvax.isc.rit.edu writes...
- >In article <5NOV199219443992@oregon.uoregon.edu>, derthanq@oregon.uoregon.edu (Victor Der-Thanq Chen) writes:
- >>In article <1992Nov6.104053.1@csc.canterbury.ac.nz>, clas005@csc.canterbury.ac.nz writes...
- >>>In article <4NOV199220221807@oregon.uoregon.edu>,
- >>>derthanq@oregon.uoregon.edu (Victor Der-Thanq Chen) writes:
- >>>> I am doing something using the clicktext in a field. In the openfield handler
- >>>> I check the value of the clicktext. If it is empty, do nothing, otherwise do
- >>>> something.
- >>>>
- >>>> The problem I have is that when the sencond pass of using the clicktext, even
- >>>> thoug I do not click on anything, the clicktext still returns the previously
- >>>> clicked text.
- >>>
- >
- >Victor
- >
- >Try using 'the selectedText' instead of 'the clickText'. The
- >value will not persist when you return to the whole text card.
- >
- >--Cea
-
- Nope, when I am clicking on something, it will not necessarily be selected.
- Besides, I am doing something with the selected text within the same field.
-
- From the replies I got, I would summarize that my original solution would be
- the easiest, though not prettiest. The original solution is to created an
- empty field at the location, say 0,0 and click at 0,0 everytime when I want to
- get rid of the clicktext.
-
- I would be happy to see some other solutions.
-
- Victor
-