Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hihglight current record in grid without sending focus
Message
De
28/03/2007 02:33:56
 
 
À
28/03/2007 01:46:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01209094
Message ID:
01209101
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>Dear Experts
>
>How to make current record highlighted without sendding focus in grid.
>
>thisform.grid1.recordsource="test"
>thisform.grid1.column3.controlsource="test.code"
>thisform.grid1.column4.controlsource="test.name"
>
>command1 has following codes
>
>select test
>seek thisform.text1.value && that is 12
>if found()
>thisform.text2.value=name
>endif
>
>grid1 contains all test.dbf data.
>when reocrd found then, in grid, current record must appear highligted but focus should remain on command button.
>
>Please help
yourgrid.highlightstyle=2
yourgrid.refresh()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform