Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid row changes without warning
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00823302
Message ID:
00823304
Vues:
16
Hi Lynda,

I know the second problem, you're describing here (and we hadn't found a solution either), but I don't think, I've seen the first. Can you replicate the same problem with the grid with no code, but based on your table and with a checkbox? I think, it must be something in your code, that's causing this behavior... You may try "eliminate" method to find out what exactly causes it...

>I'm at a loss as to how to describe this but I'll try: I have a grid containing a couple of fields of information from a SQL table and a logical field that allows the user to check a box to select the row for inclusion in another process. Ideally, the SQL data would be read only and the column with the checkbox and caption (sparse = .f.) would be editable. The problem is that the user can select the first row using the mouse but when he tries to select another row, the data in the grid scrolls without warning, usually leaving the user at end-of-file after having checked the wrong row. It's something straight out of Whil Hentzen's "User Hostile Interface" demo. What is going on?
>
>FWIW, the method code does not use setfocus(), the recordsource is a temporary table, and in the worst case, there are up to 40 records, only 8 of which will display in the grid at one time. This seems to be similar to the problem I posted several months ago about the elevator or thumb on the vertical scroll bar moving erratically in the grid when there are more rows than will display at one time, always returning to beginning or end of file. That problem still has not been solved. Both problems may be symptoms of a major "infelicity" in the grid but if so, it seems to make it totally useless. I'm hoping I've missed something very obvious...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform