Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing filtered table on a ListBox
Message
De
30/10/2001 03:44:16
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
À
30/10/2001 03:42:31
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00574893
Message ID:
00574894
Vues:
18
>hi all,
>
>I have a Form with a listbox, a textbox and a button.
>
>The listbox has RowSourceType="Alias" and RowSource="MyTable.Data1"
>When user input some text in the textbox and press the button, I'll set filter to the table and refresh the listbox display.
>
>MyForm.Init
>
>use MyForm in 0 shared
>select MyForm
>
>
>MyButton.click
>
>set filter to at(thisform.MyTextBox.value, MyTable.Data1)>0
>thisform.MyListBox.refresh()
>
>
>But when I input some text and click the button, the ListBox become gray in color with nothing displayed, the status bar of VFP display "Filter cleared". Then after a click on anywhere of the form, the listbox shows the data again without filtered.. Any idea?
>
>Thanks in advance,
>Jimi

sorry i got a mistake in this message, the listbox shows the data again after a click on it, not on anywhere of the form.
error(503): file structure failure, signature file corrupted.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform