Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox again
Message
From
07/11/2005 12:38:51
 
 
To
07/11/2005 12:34:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01064970
Message ID:
01066070
Views:
23
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform