Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETALL method
Message
De
04/06/1997 13:51:15
 
 
À
04/06/1997 13:48:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00035021
Message ID:
00035024
Vues:
39
>I have a page frame and some text boxes created on one of the pages.
>I need to set all the text boxes to disable mode first and when user need
>to edit the data then I set it to enabled. I used the following way but it
>doesn't seems to work:
>
>ThisForm.PageFrame1.Page1.SetAll("Enabled",.F.,"Textbox")
>
>but by setting individually it works, example:
>ThisForm.PageFrame1.Page1.tboxinput.Enabled = .F.
>
>Please advise, thank you.

SetAll should work Ok, except the case when you might use your own textbox class. This case you should specify custom name as third parameter of SetAll.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform