Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!yeshua.marcam.com!usc!cs.utexas.edu!utnut!utgpu!craig
From: craig@gpu.utcc.utoronto.ca (Craig Hubley)
Subject: handling ComboBox selection and #listVisible events in ST/V Win16
Message-ID: <Cxyr39.2IM@gpu.utcc.utoronto.ca>
Organization: UTCC Public Access
Date: Thu, 20 Oct 1994 08:47:33 GMT
Lines: 32

Title line about says it all.  Docs say that:
 aComboBox selection  "returns the index of the currently selected option"
but this doesn't seem to work, I get back nils no matter what goes on.

Also, I can't find good examples of how to respond to #listVisible events
when the dropDown and dropDownList styles are in use.  None of the ST/V
sample code in manuals or books seems to cover this, unless I am missing
something obvious.  The lists are there in the panes (you can flip through
them with the keyboard) but now we want them to show up as dropDown lists.
Even just a pointer to code in the standard image which does this would be
valuable.

Responses would be appreciated by email as I imagine that those who care
have mostly encountered this already.  I will summarize if the responses
indicate that this is an issue that other users have encountered.

We're using ObjectShare's WindowBuilder Pro/V but these are Digitalk's
classes so I don't expect that our problem arises from there.

Given Digitalk's lack of Internet-based support, perhaps there ought to
be a Web site or something devoted to marked-up samples of Smalltalk code.

  Craig Hubley              | Consultants on business process design.  Builders
  Craig Hubley & Associates | of workgroup task and decision support systems.
  craig@utcc.Utoronto.CA    '------------------------------------ 416-778-6136
  Seventy Eaton Avenue, Toronto, Ontario, Canada M4J 2Z5      FAX 416-778-1965

-- 
  Craig Hubley              | Consultants on business process design.  Builders
  Craig Hubley & Associates | of workgroup task and decision support systems.
  craig@utcc.Utoronto.CA    '------------------------------------ 416-778-6136
  Seventy Eaton Avenue, Toronto, Ontario, Canada M4J 2Z5      FAX 416-778-1965
