WkComboBoxEditPolicy comboBoxClass: WbObjectComboBox

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

WkComboBoxEditPolicy comboBoxClass: WbObjectComboBox

Wayne Johnston
I've found to get the behavior I want, I need to do:
WkComboBoxEditPolicy comboBoxClass: WbObjectComboBox

Two widget kit examples do this - WkTableWidgetExample2 and WkTableWidgetViewExample2.  Actually they do the above during the example window opening, and then restore the comboBoxClass back to the previous value (presumably CwComboBox) when closing.  This seems weird, to set a global variable to determine behavior in your application, or at least at certain times during your application.  But that's the way it is and it's going to stay?

The window I'm needing this for has a table (WkTableWidgetView) where one of the cells of one of the columns (WkColumnView) is a drop-down.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.