Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid.. problem with setting focus on a column
Message
De
25/03/2000 23:15:47
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid.. problem with setting focus on a column
Divers
Thread ID:
00350479
Message ID:
00350479
Vues:
42
I have a 3 column grid, all text boxes. The first column is a descriptive that will not be changed
by the user. The second and third column will. I have set the .WHEN method on the first column
to RETURN .F. to prevent access. The drawback, is you can still click in the column and hit
highlights. It was recommended that I put a SETFOCUS call to the second column in the
GOTFOCUS method of the first column (or the CLICK method). I put...
thisform.grdTally.Column2.SetFocus.

The first time I click in column , the cursor and highlight immediately jumps to column 2. BUT the
second time I click in column 1, the cursor stays in column 1, WHY?

Thanks
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform