Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek inconsistency
Message
De
13/02/2010 14:09:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01449027
Message ID:
01449063
Vues:
34
>Hi Greg
>
>.......The grid may - at its discretion decide that a cell has to be refreshed .........
>
>This is the bit I dont understand. What dertermines this . I have no code to refresh anywhere that I know of anyway.
>Just to re-iterate.. I realise I can code around this but I would like to understand why this is happening
>I could have have up to 40 other forms with similar functionality and dont want to have to change all
> these if I dont have to.
>
>The fact that when I make the screen invisible stops the problem , and also the fact that the records that
> get the problem are random, seems to me that my code is not the issue, but rather something internal to Foxpro , perhaps that it has to refresh the grid every now and again. But why it is doing this I have no idea .
>
>Regards,
>Gerard


Gerard,


I remember having a form with a grid and Dynamic*colors.
Something with a form's method (m.thisform.Method( parameters ))

When I did a createprocess ( run) that comes on the foreground - all Dynamic*colors didn't work any more. I had to code around by returning a default value

In a nutshell the grid does what it wants and when it wants. You can only code 'around' it
In addition - due to the speed of the processor, graphics card, idle times, etc the timing it is not always consistent. It depends on the computer it's running on


It may only refresh one cell (when it thinks it has to). When you scroll done one line for example, it only refreshes the bottom line

Adding 1 to the grid's height re-evaluates all the dynamic properties of all the lines and columns

And there's more I don't know.

So, I take it that the best thing to do is to work around in your case
(1) A view, or (2) have the iif(seek) work on a different alias

Success,
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform