Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!newsfeed3.dallas1.level3.net!news.level3.com!cyclone1.gnilink.net!gnilink.net!nx01.iad.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe14.iad.POSTED!7564ea0f!not-for-mail
From: Walter Roberson <roberson@hushmail.com>
Organization: Canada Eat The Cookie Foundation
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: inputdlg
References: <gd6n8p$pho$1@fred.mathworks.com>
In-Reply-To: <gd6n8p$pho$1@fred.mathworks.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 14
Message-ID: <oBBJk.2693$Tu6.2468@newsfe14.iad>
NNTP-Posting-Host: 24.79.146.116
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe14.iad 1224140244 24.79.146.116 (Thu, 16 Oct 2008 06:57:24 UTC)
NNTP-Posting-Date: Thu, 16 Oct 2008 06:57:24 UTC
Date: Thu, 16 Oct 2008 01:57:36 -0500
Xref: news.mathworks.com comp.soft-sys.matlab:495523

Simon Preston wrote:

> When I use inputdlg the dialogue box is centred on the screen.  Can somebody please tell
> me how I can specify the position?

There is no way to specify the position for inputdlg(), at least not in R2007a.

When I say "no way", I include that there are no obscure default properties
that are used but not mentioned in the help documentation: the *only* property
paid attention to in positioning the inputdlg() box is ScreenSize.

Therefore if you want the functionality of inputdlg but want a different
position, you will need to copy inputdlg.m under a different name, and modify
the copy to position the box the way you want.