Article View: comp.soft-sys.andrew
Article #1809Switching between fields
From: Germano Caronni
Date: Mon, 21 Dec 1992 17:18
Date: Mon, 21 Dec 1992 17:18
33 lines
1561 bytes
1561 bytes
Hi,
I have an inset containing several text-input fields, constructed
with arbcon. And each time the user types in a string and confirms
it with 'return' , I would like to switch the cursor to the next input
field. Currently I am trying this by doing this: in the user-part of
the Routines:
static void subjectCallBack(self,val,r1,r2)
struct confv *self;
struct value *val;
long r1,r2;
{
if(r2 == value_OBJECTDESTROYED) {
if(self->subject == val) self->subject = NULL;
}
{
/* user code begins here for subjectCallBack */
/*--START--*/
enterstrV_WantInputFocus(self->memberListView,self->memberListView);
/*---END---*/
/* user code ends here for subjectCallBack */
}
But this doesn't work. Has anybody an helping idea ?
Friendly greetings & merry christmas,
Germano Caronni
--
Instruments register only through things they're designed to register.
Space still contains infinite unknowns.
Germano Caronni caronni@nessie.cs.id.ethz.ch
Technical Details
Message-ID:
<9212211657.AA19415@nessie.cs.id.ethz.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!nessie.cs.id.ethz.ch!caronniShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!nessie.cs.id.ethz.ch!caronni From: caronni@nessie.cs.id.ethz.ch (Germano Caronni) Newsgroups: comp.soft-sys.andrew Subject: Switching between fields Message-ID: <9212211657.AA19415@nessie.cs.id.ethz.ch> Date: 21 Dec 92 17:18:20 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The Internet Lines: 34 X-Unparsable-Date: Mon, 21 Dec 92 17:57:37 CET