Specifying questdlg position

Version 1.2.0.0 (5.25 KB) by Saeid
‘MFquestdlg’ enables you to specify the question dialog box location on the screen.
1.9K Downloads
Updated Fri, 22 Apr 2011 14:56:01 +0000

View License

‘MFquestdlg’ is just a simple modification of ‘questdlg’ which enables you to specify the position of questdlg on the screen.
Everything is like the original ‘questdlg’, except that you need to determine your desirable position of the dialog box.
Specify the position with a two-element vector of the form:
[left, bottom]
where ‘left’ and ‘bottom’ define the distance from the lower-left corner of the screen to the lower-left corner of the question dialog box. ‘left’ and ‘bottom’ are NORMALIZED units, obviously between 0 and 1. The position vector must be added as the first element of ‘MFquestdlg’. An example could be:
button = MFquestdlg ( [ 0.6 , 0.1 ] , 'Is the position proper?' , 'Is it OK?' );

Cite As

Saeid (2024). Specifying questdlg position (https://www.mathworks.com/matlabcentral/fileexchange/31044-specifying-questdlg-position), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dialog Boxes in Help Center and MATLAB Answers
Tags Add Tags
Acknowledgements

Inspired: SoRoSim, Specifying icon in questdlg

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Just some help lines are added to the code.

1.0.0.0