Article View: comp.sys.amiga.tech
Article #5878Re: GUI Style Question
From: R. Michael Smithwick -- FSN
Date: Fri, 12 Oct 1990 05:32
Date: Fri, 12 Oct 1990 05:32
35 lines
2010 bytes
2010 bytes
["It looks like your friend flew the coup, Coop"]
In article <8973@milton.u.washington.edu> dlarson@blake.u.washington.edu (Dale Larson) writes:
<
<In an application I am currently developing, I have a window for entering
<data which includes radio buttons, string gadgets and integer gadgets.
<Some fields are optional. My question is: Since string gadgets only
<notify when "RETURN" is pressed, should the value entered be the state
<of the string when "RETURN" was last pressed, or should I copy the string
<to the record just before freeing the gadget and closing the window?
<I think that I should be doing the later, someone please correct me if
<I'm wrong.
<--
<-Dale Larson (dlarson@blake.u.washington.edu)
The data used should be the last data seen by the user whether he/she
hits return or not. Vista 1.0 requires CR to be hit, and we get endless
complaints about that. The user types in data into a single stringgad and
just assumes that that is what will be used. Wrongo. The program doesn't do
what the data in the window sez it should be doing and they file a bug report.
So make sure to read the gadgets buffer and never assume the user hit the CR.
Yours for friendier software,
mike
>> mike smithwick <<
Any opinions are my own since nobody else would ever want them.
"Colonize Cyberspace!"
Technical Details
Message-ID:
<1990Oct12.053232.22478@nas.nasa.gov>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!VAX1.CC.UAKRON.EDU!mcs.kent.edu!usenet.ins.cwru.edu!eagle!data.nas.nasa.gov!pioneer.arc.nasa.gov!smithwikReferences:
<8973@milton.u.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!VAX1.CC.UAKRON.EDU!mcs.kent.edu!usenet.ins.cwru.edu!eagle!data.nas.nasa.gov!pioneer.arc.nasa.gov!smithwik From: smithwik@pioneer.arc.nasa.gov (R. Michael Smithwick -- FSN) Newsgroups: comp.sys.amiga.tech Subject: Re: GUI Style Question Message-ID: <1990Oct12.053232.22478@nas.nasa.gov> Date: 12 Oct 90 05:32:32 GMT References: <8973@milton.u.washington.edu> Sender: news@nas.nasa.gov Reply-To: smithwik@pioneer.arc.nasa.gov (R. Michael Smithwick -- FSN) Organization: NASA Ames Research Center, Mtn Vw CA 94035 Lines: 35