Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delaying combobox data load
Message
From
13/05/2008 04:45:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Delaying combobox data load
Miscellaneous
Thread ID:
01316584
Message ID:
01316584
Views:
61
Hi,
I've a combobox that takes a few seconds to load.

Since the default value of this control is empty, I've decided to delay the data loading process when the user actually needs it (clicking on it, or pressing a key other than TAB and/or ENTER)
Basically it works, but there are a few issues related, may be you have a answer ready. :)

1) I'm calling the data load from "Mousedown" and "Keypress" events, is there any single point that I can use?
This is more a curiosity, since it is working.

2) When the user touch the combobox, I'd like to show a simple "wait.. loading data" message, what's the best to way to accomplish this? I've excluded the "wait window" approach.

3) When loading data, I set the mouse icon to "hourglass", but it does not appear.
    _screen.MousePointer = 11		
    doevents
I've not dedicated too much time to this problem, so may be the answer is around here :-)

Thank you
Next
Reply
Map
View

Click here to load this message in the networking platform