Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First click into a grid using vmp 4.0
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00409835
Message ID:
00410394
Vues:
24
>Well, I feel that it's kinda hokie and I don't know the implications yet, but....
>
>The problem was that .timeraction() (which calls shellrequerymainviewalias()) was not firing upon the first click of the grid. So what I did was in the SetFocus method of the grid I check .ilFirstTime property. If this property is .T. then I call .timeraction() of the timer object manually. This works fine for now (until I get an unrecoverable error right?lol)

Why not just call ShellRequeryMainViewAlias directly from the SetFocus? Is there other code in the TimerAction that needs to fire for you?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform