> 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
>
Ok...my 1st question can be ignored. Adding:
def afterSave(self):
# This will only get called if the save succeeds
self.requery()
Now updates the grid with the new value.
Could still us some help on updating the dropdown list however.
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]