AbtEwObjectComboBoxEditPolicy not firing change events

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

AbtEwObjectComboBoxEditPolicy not firing change events

Postby jtuchel » Tue May 27, 2008 3:41 am

Hi there,

I have a container details column with an AbtEwObjectComboBoxEditPolicy in it. It works just fine, once we found out how to get it into the column.
Unfortunately, it seems it doesn't fire the appropriate change-events if you select a value in the dropdown list. The object's value is only updated if the user clicks another row in the container. It seems like only endEditCallback updates the object.

The effect is that if a user changes a row's value in the dropdown-box and clicks OK without changing the focus to another row in the container, the object isn't updated. That's not what a user expects. She expects the value in the object to be what she sees in the container.
The problem is due to the fact that #widgetValueOn: is only called when an edit operation ends.

What can we do to make a selection change in an AbtEwObjectComboBoxEditPolicy to fire an update on the object immediately?

Thanks

Joachim
jtuchel
[|]
 
Posts: 245
Joined: Fri Oct 05, 2007 1:05 am
Location: Ludwigsburg, Germany

Re: AbtEwObjectComboBoxEditPolicy not firing change events

Postby Diane Engles » Fri May 30, 2008 11:35 am

Hi Joachim,

Could you post or send us some code so we can see exactly what you are doing?

Thanks,

Diane
Instantiations Smalltalk Support
diane@instantiations.com
Diane Engles
Moderator
 
Posts: 66
Joined: Mon Oct 16, 2006 2:40 pm

Re: AbtEwObjectComboBoxEditPolicy not firing change events

Postby jtuchel » Mon Jun 02, 2008 1:21 am

Diane,

thanks for taking a look at this. Sent to you as pm.

Joachim
jtuchel
[|]
 
Posts: 245
Joined: Fri Oct 05, 2007 1:05 am
Location: Ludwigsburg, Germany


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

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