Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable grid
Message
 
 
À
14/02/2008 17:21:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01292813
Message ID:
01292967
Vues:
23
>I can't seem to be able to disable a Grid. When the user is editing data (in TextBoxes below the Grid), I want to avoid the user clicking on the Grid (so he doesn't select another record).
>
>I tried returning .F. in the Grid.When() Event, to set .Enabled = .F. for the Grid and even for all contained objects (with .SetAll()), but at runtime, the user can still click on the Grid; and although the user can't select any data, the first record of the underlying cursor invariably gets selected.
>
>Any ideas?

I used to cover grid with transparent shape. This way you still would be able to scroll it.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform