Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to disable a grid
Message
De
15/05/2003 19:09:37
 
 
À
15/05/2003 13:08:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00788677
Message ID:
00789064
Vues:
32
>>>>When user changes textbox in form, the textbox class performs a refresh of a navigation grid. In the refresh method of that grid I set this.enabled = .F., but the grid doesn't become disabled! Specifically, the user can still click on another row (precisely the kind of behavior I wish to avoid).
>>>
>>>Not sure exactly what your problem is, but one old technique for grids is to cover/uncover them with a transparent grid-sized Shape - when you don't want users accessing them *at all*. Just an idea if other solutions cannot be found...and not too hard to implement.
>>
>>Thanks Bruce,
>>
>>In order to cover/uncover, should I addObject/RemoveObject or just change Height/Width to 1 pixel?
>>
>>Alex
>
>Actually, I'd just change the Zorder property of the Shape.

Thanks for your response, Fred.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform