Hi Karen, on 2-03-2006 3:48, Karen at [EMAIL PROTECTED] wrote:
> > On Mar 1, 2006, at 5:52 PM, Greg wrote: > >> >> I just tried this in 2006r1 on Mac OS X 10.4.5 and it worked just >> fine: >> >> listbox1.HeadingIndex = -1 >> >> Tell us a little more about platform and such... > > Just figured it out... > > I wanted the header highlighed because in my app clicking on a header > selects a the column (I handle cell appearance in cellBackgroundPaint > and celltextpaint events). For his use I did not want the columns to > sort so I set: > > Listbox.ColumnSortDirection(-1) = 0 > > When you do that, although HeadingIndex can still switch the > highlight from one cell to another setting HeaderHighlight = -1 has > no effect! > > I would think this is a bug... what do others think? > In nay case RS has so much on it's plate I doubt this would be > addressed anytime soon.. so I'll have to use my workaround... > maybe you'll want add to this one: Report ID: dhlyuznc Status: Reviewed Summary: There is no way to disable column header highliting. Requests: 17 - This report is on your watch list - [remove] Category: REALbasic / Framework / GUI Applications / Application Severity: Incorrect Functionality Description Chris Griffin on 2002-09-26 There is a way provieded to disable sorting of a column but no way to turn off the indication of a sorted column. There was a trick of putting a canvas over the header of a listbox. This will not work if you are still interested in resizing the columns. Steps to Reproduce Chris Griffin on 2002-09-26 Obvious. Workaround Chris Griffin on 2002-09-26 None. Evaluation Unknown on 2002-09-26 What's wrong with using ListBox1.HeadingIndex = -1? Cool Runnings, Erne. -- / |\ |\ | / |/ | \ | \ |\ | \| \ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
