I have a dTextbox tied to bizobj source-field, and want to set the
DynamicReadonly 

This is what I did...

self.Form.transnotesID.DynamicReadOnly=self.isReadOnly


def isReadOnly(self):
        try:
                ret=self.Form.aginvtransBizobj.getFieldVal('pkid')>0
        except:
                ret=True
        return(ret)     

When I step thru the code the current ReadOnly value is correct (True or
False as appropriate), but it is still read-write and the changes are
getting passed thru to the bizobj.

Any ideas as to what I need to look at or am doing wrong?

Thanks,
Larry Long              

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.4/1057 - Release Date: 10/08/2007
9:04 AM
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to