home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!cs.uoregon.edu!nntp.uoregon.edu!news.u.washington.edu!news
- From: wjs@blorf.cpac.washington.edu (William Shipley)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: DBKit: TextFields as display objects
- Message-ID: <1992Jul22.212541.2259@u.washington.edu>
- Date: 22 Jul 92 21:25:41 GMT
- Article-I.D.: u.1992Jul22.212541.2259
- References: <1992Jul22.162400.4596@midway.uchicago.edu>
- Sender: news@u.washington.edu (USENET News System)
- Organization: University of Washington
- Lines: 19
-
- & Garrett writes:
- > Art Isbell mailed me the following. It works. EOD.
- > If you drag a connection from each attribute to both
- > the DBTableView column and the TextField in which
- > you wish to display and enter data (the DBTableView
- > column connection is optional), and also make the
- > DBModule the TextField's textDelegate, you should
- > get the behavior you seek.
-
- Note also that if you have a UI control that doesn't have a textDelegate (like
- a DBImageView, or a switch with a custom connection) you should make the module
- that control's target, sending the "takeValueFrom:" method.
-
- Note also that Text objects are 'magic' in that you don't have to set either
- their delegate or their target to get them to propogate changes. This is
- because Text objects have neither targets nor delegates.
-
- -William Shipley
- The Omni Group
-