Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When for custom Controls
Message
 
À
20/12/2001 04:35:53
Dave Nantais
Light speed database solutions
Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00596595
Message ID:
00596601
Vues:
21
>>Hi everyone,
>>
>>I have a custom Control that I need to prevent access to under certain circumstances, however the control only appears to have a GotFocus and LostFocus not a When or Valid.
>>
>>Is there some way to reproduce the behaviour of the When method?
>>
>>Thanks in advance
>
>what about setting the controls 'enabled' property to 'FALSE'?
>The user will not have 'access' to the control.
>When the 'certain circumstance' occurs...
>
>THISFORM.Control.Enabled = .f.
>
>or
>
>THISFORM.Control.ReadONly = .t. is another way to limit user access to a control.....
>
>
>i hope this helps...
>if it does not...
>... get more specific with your question..


I guess that the real problem is that I can only test if they can access the control within the control ie what should be the When method.

Any thoughts?
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform