From: Jeroen Boschma on 11 May 2010 03:03 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 11 May 2010 07:27 "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 12 May 2010 04:43 "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
|
Pages: 1 Prev: C-Code in MatLab Next: Magnitude of the wav file ( db or dbs) |