>>>>That's vfp. The input's (textbox, combo, checkbox, ...) controlsource is only updated after the object loses the focus.
>>>
>>>NOT TRUE.
>>>every input have a different behaviour ( and bugs )
>>
>>Exactly. I believe that array rowsource combos behave differently comparing with cursor's based combos.
>
>On VFP every thing works with a handful of lines different C++.
>
>The setfocus of Gregory resolves the problem because it forces a combo update/valid/Lostfocus cycle
>
>try this:
>
>thisform.cntMainInfo.cboStatusCodes.displayvalue = m.lcNewStatusCode
>
>thisform.cntMainInfo.cboStatusCodes.Value = thisform.cntMainInfo.cboStatusCodes.Value
>....
>
Fabio,
As a matter of intrest, why would that behave differently ?
Gregory