From: Jeroen Boschma on
Hi there,

Spend hours trying and searching to get the edit-control in multiline non-wrapping mode (so the next line only starts when the user hits <ENTER>). Must work in 2007b. Anyone a solution, work-around, java-hack, etc....? Must be absolutely fool-proof (do ActiveX components always work on any PC???)

Regards,

Jeroen
From: Yair Altman on
"Jeroen Boschma" <jeroen(a)boschma.com> wrote in message <hsavfa$peq$1(a)fred.mathworks.com>...
> Hi there,
>
> Spend hours trying and searching to get the edit-control in multiline non-wrapping mode (so the next line only starts when the user hits <ENTER>). Must work in 2007b. Anyone a solution, work-around, java-hack, etc....? Must be absolutely fool-proof (do ActiveX components always work on any PC???)
>
> Regards,
>
> Jeroen


This will create a regular (line-wrapping) multi-line edit-box:
h=uicontrol('style','edit','max',2,'units','pixel','pos',[10,10,100,50],'string',{'multi-line','string'})

To make the editbox non-wrapping: http://UndocumentedMatlab.com/blog/customizing-listbox-editbox-scrollbars/

Other undocumented editbox customizations: http://undocumentedmatlab.com/?s=editbox

Yair Altman
http://UndocumentedMatlab.com
From: Jeroen Boschma on
"Yair Altman" <altmanyDEL(a)gmailDEL.comDEL> wrote in message
> To make the editbox non-wrapping: http://UndocumentedMatlab.com/blog/customizing-listbox-editbox-scrollbars/
>
> Other undocumented editbox customizations: http://undocumentedmatlab.com/?s=editbox

Thanks a lot Yair, very interesting links! I'll look further there.

Jeroen