home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / openloo / 3285 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  2.7 KB

  1. Path: sparky!uunet!decwrl!csus.edu!csusac!unify!openlook!openlook-request
  2. Message-ID: <n1zftww@openlook.Unify.Com>
  3. Newsgroups: comp.windows.open-look
  4. Distribution: world
  5. Date: Wed, 29 Jul 92 15:06:10 EDT
  6. From: fgreco@fis1026.shearson.com (Frank Greco)
  7. Sender: news@Unify.Com
  8. Subject: Re: In Search of a Better Scrolling List
  9. Lines: 56
  10.  
  11. > fgreco@fis1026.shearson.com (Frank Greco) writes:
  12. > [...]
  13. > > It's ironic that there's a table object in the OPEN LOOK specs
  14. > > (addison-wesley), but no implementation in XVIEW, OLIT or TNT!
  15. > >
  16. > I don't think it would be hard to do an XView multi-column scrolling list
  17. > if you didn't want users to be able to select individual cells,
  18.  
  19.     Ah... but I do want them to select individual columns.  I also
  20.     want different colors and fonts per cell, selectability on/off,
  21.     ability to select an entire row *or* column *or* both,
  22.     horizontally scroll the thing with column "locking", variable
  23.     size columns, data-defined rows/cols (ie, the object to be
  24.     scrolled is not pixel-based) and a few other things.
  25.  
  26.     All of this is available in either MS Windows or Xt-flavored
  27.     windows.  Two MSW vendors sell src for such an object for $99.
  28.     OIT has an object like this and I believe there is an Xt-based
  29.     object that gives you most of the features above.
  30.  
  31.     You *almost* can do the above with the XView-based SlingShots
  32.     pkg... *almost*, but not quite... There's still a bit of work
  33.     you have to do, and SlingShots does not implicitly have
  34.     variable-sized columns.
  35.  
  36. > only entire tables.  And even that would be useful.
  37. > I tried to get something working with multiple scrolling lists, but the
  38. > XView scrollbars are so buggy that I gave up.
  39.  
  40.     The XView scrollbars are, to be polite, awful.  If you want to
  41.     simulate scrolling ... good luck.  Use a slider or some buttons
  42.     instead.
  43.  
  44. > F'r example, if you make them invisible w/ XV_SHOW set to false, they still
  45. > work when you click on the place where they ``aren't''!  Sigh.
  46.  
  47.     You cannot determine when the user makes a "pageup" or
  48.     "pagedn", or "gotofirst" or "gotoend" actions (these should be
  49.     bonafide high level Xview *actions* IMHO).  You have to get the
  50.     x,y coordinates and figure it out yourself (not as
  51.     straightforward as it sounds).  You have no explicit control
  52.     over the proportional shaded part of the scrollbar.  You cannot
  53.     even explicitly "busy" the scrollbar" (not the same as
  54.     unshowing it).  Even MS Windows allows this.  MS Windows even
  55.     has automatic scrollbar-off when the object cannot be
  56.     scrolled.
  57.  
  58.     And... when doing "real" scrolling, if you change the XV_X and
  59.     XV_Y coordinates of the underlying canvas, the scrollbars *do
  60.     not* move along with you.  You have to position them explicitly
  61.     despite being *owned* by the canvas!
  62.  
  63.     Frank G.
  64. =-=-=-=-=-=-=-=-=-=
  65.  
  66.