Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why are the rows in my grid disappearing
Message
De
16/03/2007 11:38:18
 
 
À
16/03/2007 11:19:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01204335
Message ID:
01204592
Vues:
25
Cursor is non-empty, not filtered, last thing I do is GOTO TOP.

Note that my scroll bar is grayed out -- I would expect to be able to use it even if I were beyond the EOF, no?

>See my other reply, please.
>In regard to SET NEAR ON, it makes sense to keep it ON, this way your chances to get end of file will be extremely low.
>Just to clear this situation more: you don't have any SET FILTER, correct?
>
>>Edward --
>>
>>Yes, indeed, I change grid.recordsource -- after which I add all my columns. I can see the column headings, I can verify that the grid.recordsource points to a non-empty cursor, but see no records.
>>
>>I've never heard of SET NEAR; having looked at the documentation, I'm pretty sure that's not the issue. Part of my grid creation process is to GOTO TOP (this on a non-empty non-filtered cursor.)
>>
>>
>>
>>>Do you change Grid.Recordsource in any place of your code?
>>>Also, you said that record pointer stands on EOF(). What is your SET NEAR setting?
>>>
>>>>Edward -- that's part of the Page's Activate as well.
>>>>
>>>>My grid has the focus, but shows no records.
>>>>
>>>>Jim
>>>>
>>>>
>>>>
>>>>>Refresh may not be enough. Try to issue Grid.Setfocus from all appropriate places (i.e. instead of Refresh).
>>>>>
>>>>>>Yes; part of the method that creates the columns in the grid does a refresh.
>>>>>>
>>>>>>The problem seems to be that the record pointer is past the end of the file, no matter what I do.
>>>>>>
>>>>>>>have you issue refresh command?
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform