Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox refresh anyone?
Message
From
02/01/2007 07:51:04
 
 
To
02/01/2007 07:44:28
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01181326
Message ID:
01181333
Views:
12
>Yes, it does nothing.
>
>>>A listbox with
>>>
>>>RowsourceType = 6
>>>Rowsource = 'DamageExtent.ExtentCode,ExtentText,ExtentId'
>>>
>>>does not show data until the listbox receives the focus.
>>>
>>>I set Listindex to 1 in the Requery and Refresh method, all to no avail.
>>>
>>>What's missing?
>>>
>>>BTW, happy new year everybody - and TIA
>>
>>Peter
>>
>>Did you try a .lstYourListBox.Requery() at initialisation?

Beats me then. I'm working on a form with practically the same and it works fine, even without the .refresh().

All I can say then is the obvious: are you sure the 'DamageExtent table is open before setfocus?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform