From: | David McMinn |
Date: | 25 Sep 2000 at 11:50:47 |
Subject: | Re: Blitz & Gadtools |
> > I'm working on a new util using Blitz2 for the config program. I
> > use a
> > GTListView to display included options, but how do I read a
> > selected
> > option from the list view. I've been right through the manual, but
> > I can't
> > find it.
Two ways. First would be to use GTGetAttrs which is OS3+ and I can't
remember the syntax. Second would be to store the EventCode when your
listview gets hit.
Both give you the position in the list for the item that was clicked
last. Use something like this to position your list correctly:
ResetList listname()
For i.w=1 to stored_eventcode ; the 1 might need to be 0
NextItem listname()
Next
> yourself to the Blitz mailing list:
blitz-list-subscribe at netsoc.ucd.ie for those reading on the web :)
or even check out http://www.blitz-2000.redhotant.com
<plug mode="off">
> And ask there. Failing that, I'm sure Mr. McMinn would know what to
I'm sure many other people know too though.
Quote carefully and read all ADMIN:README mails