Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Skip in recordsource or Scroll
Message
De
24/09/2010 09:15:44
 
 
À
24/09/2010 09:10:34
Kevin Hickman
The Cadle Company
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01482559
Message ID:
01482560
Vues:
49
>I have a grid on a form for which I dump in different records from two different tables. I then want the grid to go to the bottom and show the last 7 records and have the 8th row show blank. Using the object I can go to the bottom in the recordsource, but when I do it aligns in the grid to show three blank rows. If I manually click in the grid during runtime and arrow up (to simulate a skip -1 each click) on the grid and count the number of skips and code using the object to do a skip -6 to try to get it to show correctly in the grid the way it did manually, it does not. If I manually click on the little scroll arrow I can get it to show correctly manually every time as well. Is there coding I can use to programmatically to simulate clicking the arrow instead of skiping records in the recordsource? I would like to try that and see if I can get it to position the way I want it. Why do the grids react so much differently programmatically vs in runtime where I can manually move it the same number of times for any given situation and get the display I want?

Check Grid.DoScroll() method.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform