Alec Bennett wrote:
I'm wondering if there's some way for a SpinCtrl to
cycle through strings instead of numbers? For example,
something like:self.cities = wx.SpinCtrl(p, -1, '', (150, 75), (60,
-1))self.cities.SetRange("burbank", "los angeles", "new
york")self.cities.SetValue("burbank")
You can do it by using a wx.TextCtrl and a wx.SpinButton, and manage switching the strings yourself in response to the spin button events.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!