DirDialog and initial focus

jeremy alexander wrote:

Is there a way to have the initial focus for the
DirDialog be on the scrollable area of the dialog? The default seems to be to have initial focus on the
OK button. I can't reproduce this consistently, but on rare
occasions the focus does come up on the scrollable
area.

Since the DirDialog is a native common dialog on most platforms there really isn't a way to do that. For example, on Windows wx.DirDialog is just a wrapper around the native win32 API function that shows the common dialog, and we don't even have the window handle to play with. When the function call returns then the dialog has been ok'd or cancel'd and it's done.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!