Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus in a Grid (in a form)
Message
 
 
À
22/04/2000 13:20:29
Van Son Nguyen
Dessau Soprin Inc.
Laval, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00362524
Message ID:
00362525
Vues:
12
>I try to use this following program section in the Refresh of my Form :
>
>IF glProj = .F.
> Thisform.Grid1.Column1.Visible=.T.
> Thisform.Grid1.Column1.Enabled = .T.
> Thisform.Grid1.Column1.SetFocus
>Endif
>
>and the result is :
>
>" Cannot call Setfocus from within a When,Valid,Rangehigh or Rangelow event"
>
>Moreover, this occured in the "Refresh" and not in the Valid or When
>
>Thank in advance for any hints or suggestions,
>Van Son Nguyen
Van,
Is the form itself called from the Valid event on another form? Check further up the program stack.
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