Are your textbox based on a custom class? If so, specify the class name as the third parameter. The MSDN help specify this for the third parameter of SetAll:
"Specifies the class name (the class on which the object is based, not the Visual FoxPro base class for the object)."
HTH
>When I run the following code, my textboxes are not enabled. but if i run thisform.mytext.enabled = .t., then the textboxes are enabled. Anything wrong with this code?:
>
>thisform.setall('ENABLED',.T.,'Textbox')
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only