🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #696

(none)

#696
From: REGI's
Date: Thu, 15 Oct 1992 13:43
67 lines
3236 bytes
>X-Envelope-to: comp-windows-interviews@shelby.stanford.edu
>X-VMS-To: IN::"comp-windows-interviews@shelby.stanford.edu"

1
15-OCT-1992 15:40:06.82
   1 00:00:00.00
16-OCT-1992 15:40:06.82
daemon@interviews.Stanford.EDU
juando@cnm.us.es

Received: from interviews.Stanford.EDU by ESEVVX.CICA.ES ; 12-OCT-1992 15:40:01.82
Received: by interviews.Stanford.EDU (5.57/Ultrix3.0-C)
	id AA07616; Mon, 12 Oct 92 07:41:15 PDT
Received: by interviews.Stanford.EDU (5.57/Ultrix3.0-C)
	id AA07276; Mon, 12 Oct 92 07:38:40 PDT
Received: by lurch.Stanford.EDU (5.57/Ultrix2.4-C)
	id AA27945; Mon, 12 Oct 92 07:36:43 PDT
Received: by shelby.Stanford.EDU (5.57/Ultrix3.0-C)
	id AA05304; Mon, 12 Oct 92 07:32:49 -0700
Date: Mon, 12 Oct 1992 14:01:10 GMT
From: rak@cbnewsm.cb.att.com (richard.a.karhuse)
Organization: AT&T
Subject: Hints on building a "TableBrowser" class
Message-Id: <1992Oct12.140110.12544@cbnewsm.cb.att.com>
Sender: owner-comp-windows-interviews@shelby.stanford.edu
To: comp-windows-interviews@shelby.stanford.edu


We're just starting to use InterViews and are having some
fun.  What we'd like to do is to build a TableBrowser or
Chooser.  That is, we have some data that exists as a
series of string tuples or fields.  We want to display
each tuple a line at a time and have one scrollbar that
scrolls the whole tuple.  When one selects a field, the
whole tuple would be available for updating/editing.  I
envision something like:

  ----------------------------------------------------
  |                  Title                           |
  |                                                  |
  |   Hdr 1   Hdr 2  Hdr 3         Hdr 4             |
  |   ------- ------ ------------- ------- ^         |
  |   |     | |    | |           | |     | *         |
  |   |     | |    | |           | |     | |         |
  |   |     | |    | |           | |     | v         |
  |   ------- ------ ------------- -------  \..scroll for all fields
  |                   <--*------->                   |
  |                               \..(for just this field
  |       Field 1: _______________                   |
  |       Field 2: _______________    <Add>          |
  |       Field 3: _______________    <Delete>       |
  |       Field 4: _______________    <Change>       |
  ----------------------------------------------------

The question is: Does anyone have any hints on what
would be the best way to develop this class(es)? I have 
taken FileChooser, modified to call multiple 
StringBrowsers but am having trouble with the callbacks 
and getting the scrollbar to work with multiple 
StringBrowsers.

Configuration: InterViews 3.1beta3, Sun OS 4.1.1, OW 3.0,
	AT&T C++ 2.1

				Richard A. Karhuse
				rak@garage.att.com
				(908) 580-4518
Technical Details
Message-ID: <01GPZ9WYJW5S0001ZZ@esevvx.cica.es>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ESEVVX.CICA.ES!NUNEZ

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ESEVVX.CICA.ES!NUNEZ
From: NUNEZ@ESEVVX.CICA.ES (REGI's)
Subject: (none)
Message-ID: <01GPZ9WYJW5S0001ZZ@esevvx.cica.es>
X-Unparsable-Date: Thu, 15 Oct 1992 13: 39:00 UTC+0100
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 15 Oct 1992 13:43:20 GMT
Lines: 69