Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetAll Question
Message
De
21/03/2003 09:53:16
 
 
À
21/03/2003 08:37:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00768480
Message ID:
00768563
Vues:
21
Gary, I'm not seeing that in version 7 - sp1. What version and service pack of VFP are you using?

Alan

>Hi Alan:
>
>>Is the lReadOnly property of the textbox subclass public?
>
>Yes it is. If I dont specify the class name, everything (control) in the container that has an lReadOnly property setting is set .T. - by just following the more specific syntax of the method (because I only want to set lReadOnly True on the textbox subclasses) causes the problem by reporting that lReadOnly cannot be found when it is clearly there?
>
>>
>>Alan
>>
>>>Hi!
>>>
>>>I have noticed that when I use a container's SetAll method as such :-
>>>
>>>
>>>oCnt.setAll('lReadOnly', .T.)
>>>
>>>
>>>all is fine, but when I specify a specific subclass name (a textbox subclass) like so :-
>>>
>>>
>>>oCnt.setAll('lReadOnly', .T., 'txtSubClassName')
>>>
>>>
>>>I get an error message saying that the 'lReadOnly' property cannot be found. The property does exist in the subclassed textbox and in fact, they are the only type of textbox in this container.
>>>
>>>Any thoughts/ideas what is happening here?
>>>
>>>Thanks!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform