The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: GUI comments box
Replies: 3   Last Post: Dec 7, 2012 3:16 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Justin Ashmall

Posts: 20
Registered: 8/16/12
Re: GUI comments box
Posted: Dec 6, 2012 12:07 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Chris McCorquodale" wrote in message <k9qfi0$gcj$>...
> I am writing a gui that requires a 'comments' box for users to allow them to make comments/notes etc before saving or printing.
> Initially I thought this would be easy - a big edit box. But that doesn't work as it only allows writing on one line. Also when you run out of room, it doesn't move on to the next line, just goes off the end.

Try using inputdlg(), specifying the number of lines as the 3rd argument. E.g. to show an input dialog with 10 lines:

res = inputdlg('Enter Comment','Comment',10)


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.