🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.soft-sys.andrew
1 messages
1 total messages Started by Germano Caronni Mon, 21 Dec 1992 17:18
Switching between fields
#1809
Author: Germano Caronni
Date: Mon, 21 Dec 1992 17:18
33 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads