🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2362

Re: How do I tell a text Form to select the next text cell?

#2362
From: David J. Finton
Date: Tue, 26 Jan 1993 16:00
26 lines
1550 bytes
In article <C1BEJI.A3M@iat.holonet.net> cmumford@iat.holonet.net 
(Chris Mumford) writes:
>Can you link the fields so that when the user hits the tab key they
>automatically get selected?

That's what I've done.  But when the user hits return, I have a method
process the text, and I want it to then select the next field, just
as if the user had pressed the tab key.

I got suggestions that I should use something like
           [[sender nextText] selectText:self]

This doesn't work;  I get a warning that says the compiler can't 
find the method and that "return type for 'nextText' defaults to id."
or "structure has no member named nextText" if I try to access that
variable directly by sender->nextText.

Essentially, I need to access a variable internal to the object.  That's
not allowed, but I would expect there to be a method to select the
field pointed to by that variable so I don't have to access it.

Help?

David Finton
finton@cs.wisc.edu
Technical Details
Message-ID: <1993Jan26.160008.16406@cs.wisc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sequent!gaia.ucs.orst.edu!flop.ENGR.ORST.EDU!rutgers!uwvax!barney.cs.wisc.edu!finton
References: <1993Jan20.210945.23982@cs.wisc.edu> <C1BEJI.A3M@iat.holonet.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sequent!gaia.ucs.orst.edu!flop.ENGR.ORST.EDU!rutgers!uwvax!barney.cs.wisc.edu!finton
From: finton@barney.cs.wisc.edu (David J. Finton)
Newsgroups: comp.sys.next.programmer
Subject: Re: How do I tell a text Form to select the next text cell?
Message-ID: <1993Jan26.160008.16406@cs.wisc.edu>
Date: 26 Jan 93 16:00:08 GMT
References: <1993Jan20.210945.23982@cs.wisc.edu> <C1BEJI.A3M@iat.holonet.net>
Sender: news@cs.wisc.edu (The News)
Distribution: usa
Organization: University of Wisconsin, Madison -- Computer Sciences Dept.
Lines: 26