Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox again
Message
 
 
To
07/11/2005 06:26:44
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:
01065947
Views:
18
>N,
>
>Try to take the focus off the combo after the assignment (or simply reset focus() after the assignment)
>
>
>>
>>*** Update status code
>>
>>            thisform.cntMainInfo.cboStatusCodes.displayvalue = m.lcNewStatusCode
>
>             =thisform.cntMainInfo.cboStatusCodes.SetFocus()
>
>>            thisform.lStatusCodeChanged = .T.
>> 			thisform.oBizObj.lCascadeMessages = .F.
>>
>>            if m.llRetVal and thisform.oBizObj.save() = FILE_OK
Did you mean to try to put focus on the combobox after the assignment? Because the focus is on the button at that time.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform