From: Walter Roberson <>
Organization: Canada Eat The Cookie Foundation
User-Agent: Thunderbird (Windows/20080914)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: inputdlg
References: <gd6n8p$pho$>
In-Reply-To: <gd6n8p$pho$>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 14
Message-ID: <oBBJk.2693$Tu6.2468@newsfe14.iad>
X-Trace: newsfe14.iad 1224140244 (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: 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.