Thanks
Wes,
What type of information are you wanting to display? Do you want the
button to say something else or for the box to have no button at all?
Chmical
You can use DIALOG to create a generic dialog box, and then
add whatever controls, text, etc you want with UICONTROL.
That stuff is all done for you within such functions as MSGBOX.
What behavior do you want? You just want a box with an
informational message and no OK button, but which can
be closed by the user by closing the window?
- Randy
I want to show just a message without 'ok' button to explain a step
to the user. Once the user does as it is explained in the message,
my source code will close the message box so that the user will not
need to select 'ok' button.
Thanks
Wes
uicontrol('Style','text','String','hi')
Chmical
OK, here's sort of a kluge-y way to do it. This creates
a message box, then deletes everything that isn't the
actual message.
h=msgbox('Message','Title');
delete(findobj(h,'string','OK'));
delete(findobj(h,'style','frame'));
- Randy