Path: utzoo!mnetor!uunet!husc6!purdue!gatech!gtss!chas From: chas@gtss.UUCP (Charles Cleveland) Newsgroups: comp.sys.amiga.tech Subject: Re: String gadgets Message-ID: <242@gtss.UUCP> Date: 15 Apr 88 13:27:46 GMT References: <239@gtss.UUCP> <5698@well.UUCP> Reply-To: chas@gtss.UUCP (Charles Cleveland) Organization: Georgia Tech School of Physics Lines: 27 Keywords: string gadget intuition de-selection In article <5698@well.UUCP> shf@well.UUCP (Stuart H. Ferguson) writes: )If you need to know when the user is through with the string gadget, just )look for any other message coming from the same {Window|Requester}. As soon )as one comes, you know the user is done with the gadget, since you can't )get another message until he clicks someplace else or presses return. Actually, I even want to know when the gadget is de-selected if the user clicks outside of any gadget, or in another window. I have a window with a lot of string gadgets in which numbers are entered. Some of the numbers can be recalculated depending on values in other fields. If a user can enter a number in a field and then just click outside any gadget (to get rid of the cursor) without letting the program know that a value has been changed, he could make it appear that results followed from a set of input values with which they were in fact inconsistent. An unethical person could use this 'feature' fraudulently. Anyway the problem is sol-ved. I have outlined my solution in a followup to a followup by jimm. -------- "Wouldn't the sentence 'I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign' have been clearer if quotation marks had been placed before Fish, and between Fish and and, and and and And, and And and and, and and and And, and And and and, and and and Chips, as well as after Chips?" -- Charles Cleveland Georgia Tech School of Physics Atlanta, GA 30332 UUCP: ...!gatech!gtss!chas INTERNET: chas@ss.physics.gatech.edu