ComboBox ConverterManager

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

ComboBox ConverterManager

Postby rjs » Fri Sep 19, 2008 11:55 am

Does anyone know why AbtComboBoxViewConverterManager>>#executePendingSelectionNotification overrides AbtCollectionConverterManager>>#executePendingSelectionNotification?

It looks wrong, but there must be a reason.

(I came across the following comment in some old code I wrote years ago for a subclass of AbtComboBoxView:
"Execute the pending notification blocks for selections made.
For some reason, ComboBox does nothing. This resulted in an
error condition for this part when there are actions that happen
before the widget is built.")
rjs
 
Posts: 39
Joined: Thu Mar 27, 2008 11:07 am
Location: Port Perry, Ontario, Canada

Re: ComboBox ConverterManager

Postby solveig » Wed Sep 24, 2008 6:33 am

rjs wrote:
(I came across the following comment in some old code I wrote years ago for a subclass of AbtComboBoxView:
"Execute the pending notification blocks for selections made.
For some reason, ComboBox does nothing. This resulted in an
error condition for this part when there are actions that happen
before the widget is built.")


What sort of error condition do you get?

solveig
solveig
Moderator
 
Posts: 57
Joined: Tue Oct 17, 2006 6:30 am

Re: ComboBox ConverterManager

Postby rjs » Wed Sep 24, 2008 11:08 am

Hi Solveig,

I don't remember. I was looking at code that was 10 years old. I suspect the "error conditions" were "actions that happen
before the widget is built" not actually having any effect.


Richard
rjs
 
Posts: 39
Joined: Thu Mar 27, 2008 11:07 am
Location: Port Perry, Ontario, Canada


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest