find-replace default position

how about:

Dialog.Centre()

works for most of my widgets.

S

···

----- Original Message ----
From: Dan Cherry <dscherry@bellsouth.net>
To: wxPython <wxPython-users@lists.wxwidgets.org>
Sent: Friday, November 24, 2006 1:07:02 PM
Subject: [wxPython-users] find-replace default position

Hi,
Is there a fairly simple way to position a find/replace dialog? None of
the arguments shown in the docs indicate a default/override for either
size or position.

Dan Cherry wrote:

Stewart Midwinter wrote:

how about:

Dialog.Centre()

works for most of my widgets.
S

thanks, but that's where I'm trying to move it away from. I'd like to
position it near a corner, since I almost always have to manually move
it away from the center where it covers the text that was 'found' by the
search.

I'm not sure why the constructor doesn't support a position parameter, but you can probably just call SetPosition later to move it where you want.

···

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

Robin Dunn wrote:

Dan Cherry wrote:

Stewart Midwinter wrote:

how about:

Dialog.Centre()

works for most of my widgets.
S

thanks, but that's where I'm trying to move it away from. I'd like to
position it near a corner, since I almost always have to manually move
it away from the center where it covers the text that was 'found' by the
search.

I'm not sure why the constructor doesn't support a position parameter, but you can probably just call SetPosition later to move it where you want.

That works...
Thanks, very much.

The docs I have for wxPython and wxWindows don't list which functions/methods work with which widgets. (or at least I don't know how to access that information). Is there a place or technique that I can use to determine that information without bothering the list? I have a feeling it's something very simple...

Thanks, again,
Dan

···

--
Dan Cherry
dscherry (@) bellsouth.net

Finding a solution to a problem doesn't solve the problem...
Implementing the solution solves the problem.