Article View: comp.windows.interviews
Article #652Hints on building a "TableBrowser" class
From: richard.a.karhuse
Date: Mon, 12 Oct 1992 14:01
Date: Mon, 12 Oct 1992 14:01
40 lines
2133 bytes
2133 bytes
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:
<1992Oct12.140110.12544@cbnewsm.cb.att.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsm!rakShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsm!rak From: rak@cbnewsm.cb.att.com (richard.a.karhuse) Subject: Hints on building a "TableBrowser" class Organization: AT&T Date: Mon, 12 Oct 1992 14:01:10 GMT Message-ID: <1992Oct12.140110.12544@cbnewsm.cb.att.com> Lines: 42