Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!usc!ucsd!ucsdhub!hp-sdd!hp-pcd!hplsla!hpubvwa!campbel!lyn From: lyn@campbel.campbel.diskless ( Lyn Stewart ) Newsgroups: comp.windows.x Subject: Text Field Widget Message-ID: <110002@campbel.campbel.diskless> Date: 27 Dec 89 18:56:08 GMT References: <3172@uceng.UC.EDU> Organization: Boeing Commercial Airplanes Structural Dynamics Lab. Lines: 31 / campbel:comp.windows.x / montjoy@ucece1.ece.uc.edu (Robert C. Montjoy) / 5:34 pm Dec 18, 1989 / >Hi. >I have been programing in AT&T's OPENLOOK package for almost a year. I >have most of my original graphics completily ported to this toolkit. >However there is small enhancment that I want to do to the TEXT field >widget. What the TEXT field widget does is provide a field for users to >type text into. However, thier is no clean way of checking the string to >the user hits return or the widget losses or gains input focus. What I >need to do is to add a procedure to the widget to just that. I am not >a widget programmer so if some kind soul can supply me with a general >idea how to do this. > > >Thanks for any info, > >Rob Montjoy > >E-MAIL Rob.Montjoy@uc.edu > uunet!uucba!ucece1!montjoy ---------- I have done something simular with hp's textedit widget. I use the events which combine together to allow checking before the return is pressed. Crazy method but I would rather not modify a standard widget unless pressed ( hard ). Lyn Stewart Boeing Commercial Airplanes