Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in combobox?
Message
 
 
To
07/11/2005 11:23:45
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01065415
Message ID:
01066022
Views:
29
>You only need a combo.Refresh() if it has the focus. (and if it is visible at that moment, it would be nice for the user to see the old value, ie action cancelled)
>
>If the combo has the focus and is on a non-active page of a pageframe, I do not think it will be refreshed with thisform.refresh() [ see some other thread: container.Refresh() ]
>
>So, the best thing to do is to make sure that the combo does not have the focus, tablerevert(), then refresh()

In that particular form the form doesn't have pageframe (I'm talking now about my own form, which is differnt from the previous case). The original value is blank. The array doesn't have blank value, e.g. once you select the frequency, there is no way to interactively make it blank again. However, by pressing Cancel button I'm doing tablerevert, so it becomes blank again.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform