Sorry to take your time but try as I might, I can't get the ListSection
event of of the ListBox to fire.

In my hand coded test I have these lines to set up the listbox:

  lstBox =
dabo.ui.dListBox(self,RegID='lstBox',Width=300,Height=200,Left=20,Top=200)
  lstBox.bindEvent(dabo.dEvents.ListSelection, self.onListSelection)

 def onListSelection(self,evt):
  print 'list hit'

When a listbox item is selected, the print statement is not executed.

As a second test, I  created a simple form in the CD and dropped a listbox
on it.  I set up a few choices for the listbox, then selected the method
'onListSelection'.  That method had the one-liner print 'list hit'.  Running
that form and selecting an item from the listbox again did nothing.

As a rank beginner, I've probably missed something silly.

Steve Rose


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to