Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!fas-news.harvard.edu!newspump.wustl.edu!news.ecn.bgu.edu!usenet.ins.cwru.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!news
From: kit@delphi.bsd.uchicago.edu (Kit Transue)
Subject: Re: Dynamic dataset column headers in VW 2.0
Message-ID: <1995Jan19.174223.22479@midway.uchicago.edu>
Sender: news@uchinews.uchicago.edu (News System)
Organization: University of Chicago -- Academic Information Technologies
References: <D2MLzr.79v@txnews.amd.com>
Date: Thu, 19 Jan 1995 17:42:23 GMT
Lines: 25

In article <D2MLzr.79v@txnews.amd.com> Paul Schaaf <paul.schaaf@amd.com>  
writes:
> How do I change the column headers in a VisualWorks 2.0 dataset?
> They provide almost no documantation on datasets, and everything
> about them is nonobvious.  I tried to use images for the labels, 
> as that would request the image via a method, but the request goes
> to the class, not the instance.  I don't want to make this a sole-
> instance class just to support this feature.  There must be an 
> easier way!?

Sorry, Paul.  I missed the "dynamic" specification in the header.  It is  
possible to change the label to a static text entity, as I mentioned  
before.  It doesn't look like the PassiveLabel class provides much way of  
setting itself up to look at a changing aspect.  It looks like a lot of  
work to mess with how the dataset's visual elements are constructed and  
where they're fetched from.

I would try placing a button on top of the column header, or turning off  
the headers and managing them myself.

My previous comments about providing a uniform access mechanism for  
labels, menus, values, etc. are doubled.

sorry not to be of help.
kit
