General information
Category:
Coding, syntax & commands
Title:
Can Setall copy one property to another?
Hi,
I have added a lSaveReadOnly property to my textboxes and saved the old value of their ReadOnly property. When the user clicks a button, I want to set their ReadOnly property to the value of their lSaveReadOnly property. I have tried:
thisform.setall("ReadOnly",lsavereadonly,"txtedit")
and
thisform.setall("ReadOnly",this.lsavereadonly,"txtedit")
but neither seems to work. The following works:
thisform.setall("ReadOnly",.f.,"txtedit")
but I want to use the value of the lSaveReadOnly property rather than a hard-coded .f.
Can setall be used to access an existing property (i.e., lSaveReadOnly) of the contained objects in the value parameter of the setall method?
Thanks much for your help, John :)
Next
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