|
"Jeroen Boschma" <jeroen@boschma.com> wrote in message <hsavfa$peq$1@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
|