Consultor Eletrônico



Kbase P121324: Problem with sendMessageA using a combo-box
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/27/2007
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
Windows

SYMPTOM(s):

combo-box problem with sendMessageA and dropdown list-items

WIN32 API sendMessageA function used with combo-box

Two combos inside a frame having a on-entry trigger to dropdown the list-items

User types the desired value, and when go to the next combo the typed value is not put at the combo

CAUSE:

This is a known issue

FIX:

To workaround this:
1 - Avoid to have both combos together in the screen, which may require redesign of the application form.
2 - Use any-printable instead of on entry event. The any-printable event will fire as the user types any character inside the combo. The disadvantage is that sendMessage is called as many times as the user press a printable character.