Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox.requery/refresh?
Message
From
08/05/2001 00:37:39
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Listbox.requery/refresh?
Miscellaneous
Thread ID:
00504559
Message ID:
00504559
Views:
50
Hi all,

I have made a listbox with two columns,I set the rowsource as an array A_text[num,2].

A_text[num,1] is used as the entry ID, A_text[num,2] is to store the data..

Since my program is needed to support multi_language.. sometimes I have to change the data of the array in this way:

for i=1 to Num_of_entry
A_text[i, 2] = Data_In_Different_Language
endfor

after the for-loop I run FormName.ListBoxName.requery() and FormName.ListBoxName.refresh() but the display doesn't changed correctly, only part of the text is changed, I have to run other function of the listbox (such as inserting/deleting some items in it) then the display will be correct again. Those function also have .requery() executed in it..

Any suggestion please?
error(503): file structure failure, signature file corrupted.
Next
Reply
Map
View

Click here to load this message in the networking platform