Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo/List Boxes not updating when value set
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00203971
Message ID:
00204010
Views:
15
Funny thing is, that occured to me aswell, and I did try setting the underlying views controlsource, it likewise did nothing on the refresh...

Oh well looks like I will be stuck using the SETFOCUS to cause it to display...

Thanks anyways... Just thought I was missing something obvious...

>One more thing: if you use bound combo then instead of resetting value property, you may better Replace underlying controlsource.field.
>
>>Yupperz, we fire the code from the procedure library, but explicitly reference the dropdown, with xtra.pgfmain.pgorder.xcmbsolicitor.refresh. This did nothing, I even checked lockscreens, and verified with lockscreen=.f. beforehand. Nothing makes it appear, except if I do a
>>
>>xtra.pgfmain.pgorder.xcmbsolicitor.setfocus
>>xtra.pgfmain.pgorder.xcmbadclass.setfocus
>>
>>To quickly setfocus to it, and then away... (to where I really need the focus), if I do this, then the value, DOES show up...
>>
>>STRANGE!!!!!!!!!!!!!!!!!!!!!
>>
>>Thanks
>>
>>>Do you fire your code from the same page? If not, VFP will refresh only the active page. The common solution is to have This.Refresh in all Page.Activate events, or you may call explicitly xtra.xcmbsolicitor.refresh
Previous
Reply
Map
View

Click here to load this message in the networking platform