First off, here is the pertinent environment info:

Platform: Win
Python Version: 2.6.5 on win32
Dabo Version: Version 0.9.3; Revision ~6190
UI Version: 2.8.11.0 on wxMSW

I have some forms in my app similar to the pycon 2010 Hours app.

When I edit a record, and save the edit, the grid doesn't update with the
new value from the dropdownlist. Figuring it was me, I ran the svn version
of the pycon Hours app and sure enough, if I edit a record or add a record,
the grid doesn't add/update the client name.

My app goes one step further in that I can add clients (builders in my case)
, which are added via a child form launched from the main form.
When I close the child form how do I update the dropdownlist?

from the parent form:

## *!* ## Dabo Code ID: dButton-dPanel
def onHit(self, evt):
    self.Form.newRecordBuilder()

def newRecordBuilder(self):
    dabo.ui.createForm("frmBuildersAdd.cdxml", show=True, parent=self)
    self.hide()

back to the parent from the child:

def closeProgram(self,evt):
    self.openBuildersForm = True
      self.close()


def beforeClose(self, evt):
    if self.openBuildersForm:
        self.Parent.show()

Thanks
Carey


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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/[email protected]

Reply via email to