Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter( ) and Grid
Message
 
 
À
13/09/2001 04:21:16
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00555816
Message ID:
00555825
Vues:
13
Hi!

Try to change the record pointer after you changed the filter. For example, use 'Go Top' command.

Its also strange for me why code works from buttons...

>hi all,
>
>I have a form, which has two textlabel and a grid on it.
>
>The grid is to show the content of a table, and each button have their own filter settings. For example:
>
>
>Text1.click()
>set filter to
>thisform.MyGrid.refresh()
>
>
>
>Text2.click()
>set filter to type=="B"
>thisform.MyGrid.refresh()
>
>
>Both works fine, the only problem is, if I clicked Text2 and the result is none, and then I click on Text1, there will be no record displayed. But Text1.click() should reset any filter as shown above...
>
>Even more strange, if I replace the two textlabel with commandbuttons and copy and paste the click() event codes, it will work just fine! What is the problem with the textlabel?
>
>Please help! Thanks a lot!
>Jimi
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform