Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use a GRID for display and select only - no editi
Message
De
27/04/2000 09:00:42
 
 
À
24/04/2000 23:25:38
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00363004
Message ID:
00364069
Vues:
15
Peter:

For the record mark to show on the grid upon loading try a this.grid.setfocus() in the activate of the page.

To prevent a cursor in an active cell, I usually put code in the when event of whatever control is in each column (textbox, etc...)that looks something like:

if this.readonly = .t.
return .f.
else
return .t.
endif

This way if i set it readonly it will not take a cursor but the row still gets focus and if i set readonly off it works the way it normally would.

As for getting the entire row to highlight, I'm not sure off the top of my head but you might try something with dynamicbackcolor in the columns.

Hope this helps
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform