This is a continuation of my first email: Class Designer - Using BizObj
in the iniatizing my Menus and all the captions in my Button ....

In my email where I stated:

  buttonBizObj    = self.Form.getBizobj("buttons")
  butttonDataSet  = buttonBizObj.getDataSet() # get button data set

                # manually setting a single button for debugging
                #  norminal I would call 
                # buttonManager.Initialize(self,buttonDataSet)

   self.Form.BusinessButton1.Caption =
               buttonManager.getCaption(self,buttonDataSet)

I replaced all the code in the CD dForm method afterInitAll with:

   self.Form.BusinessButton1.Caption = "Test"

In the terminal the trace back error was:

  File "/tmp/tmpKwMpAv.py", line 524, in afterInitAll
    self.Form.BusinessButton1.Caption  = "TEST"
AttributeError: 'NoneType' object has no attribute 'BusinessButton1'

In the Class Designer Object window I defined my button RegID to
BusinessButton1.  The above trace message is telling or what I think it
is telling me is that the RegID is not accessible at this level?

Any Ideas
Thank you
Bob






_______________________________________________
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/1232829779.9818.16.ca...@sysero-rkm-laptop

Reply via email to