>
> Assuming your dDateTextBox has a RegID of 'datetext', and this code
> is at the form level:
>
> btn = dabo.ui.dBitmapButton(self, Picture="path/to/image.png",
> OnHit=self.datetext.showCalendar)
>
>
>
> -- Ed Leafe
>
Worked great Ed with a slight modification as my forms are CD forms and not
hand coded.
Gave the dDateTextBox in my cdxml file a RegID, and then in the
frmSomeForm-code.py file
## *!* ## Dabo Code ID: dBitmapButton-dPanel
def onHit(self, evt):
self.Form.dateCreated.showCalendar()
Worked like a charm. It was much easier than I had imaged it would be.
-- 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]