On Mon, Aug 11, 2008 at 3:52 PM, Ed Leafe <[EMAIL PROTECTED]> wrote:
>
> Ah! Good catch - I never use addObject(), so I never saw thought of
> updating this. Yes, in the current form, you will need to use the
> absolute path, but I can post an update soon that will fix this. As
> long as the file is in the current directory or one of the "standard"
> project directories, it will find it.
>
Hi Ed,
I'm glad to point out needed improvements. However, I'm still unable
to get the dialog to open. The button has the following onHit method:
def onHit(self, evt):
absoludePath = "C:/.../ui/FileSelectDialog.cdxml"
frm = self.Form
frm.addObject(absoludePath)
When the button is pressed, the form looses focus, but the dialog
never shows up. I used to get an error message until I figured out
that the path needed to be absolute, but that's as far as I've gotten.
Am I missing something from my code to make the dialog appear?
Something like
childWindow = frm.addObject(absoludePath)
childWindow.ShowModal()
maybe?
Thanks,
Mike M.
_______________________________________________
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/%(messageid)s