comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: centering dialog_pickfile, printersetup, etc...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: centering dialog_pickfile, printersetup, etc... [message #61229] Thu, 10 July 2008 13:10 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
cgoethel@igpp.ucla.edu writes:

> Is there a way to center the dialog_pickfile or dialog_printersetup
> widgets in my window? There don't seem to be any keywords in these
> routines to do this.

Add your name to the long list of people who want this.
This tops my list for *most* annoying feature of widgets!

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: centering dialog_pickfile, printersetup, etc... [message #61348 is a reply to message #61229] Mon, 14 July 2008 15:59 Go to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
On Jul 11, 5:10 am, David Fanning <n...@dfanning.com> wrote:
> cgoet...@igpp.ucla.edu writes:
>> Is there a way to center the dialog_pickfile or dialog_printersetup
>> widgets in my window? There don't seem to be any keywords in these
>> routines to do this.
>
> Add your name to the long list of people who want this.
> This tops my list for *most* annoying feature of widgets!
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Interesting! The first time I invoke x=Dialog_Pickfile() from the
command line, it appears in the top left
corner of the screen. (XP, IDL v6.4)

The second time, and subsequent times, I invoke x=Dialog_Pickfile(),
it appears centered on the screen!!

Dialog_Pickfile must contain some internal smarts to do with centering
itself. Perhaps there is an undocumented
keyword to force centering on the first call?

Andrew
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Access array elements with String
Next Topic: Re: Edge detection for saturn's rings

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:37:25 PDT 2025

Total time taken to generate the page: 0.00685 seconds