"Maurizio" wrote in message <ogjh9v$dnm$1@newscl01ah.mathworks.com>...
> I have a listbox in which I want to put the list file of a folder, but if the file has an underscore, the character isn't displayed, I see a space char instead; the code is the following:
>
> myDir = uigetdir('C:\files','Choose a folder')
> myList = dir;
> set(handles.myListbox,'String',myList')
>
> If I put this file name in a text box I haven't any problem. Why
> What can I do?
Try to reduce the listbox's FontSize property value, and/or to change the FontName.
Yair Altman
http://UndocumentedMatlab.com
> I have a listbox in which I want to put the list file of a folder, but if the file has an underscore, the character isn't displayed, I see a space char instead; the code is the following:
>
> myDir = uigetdir('C:\files','Choose a folder')
> myList = dir;
> set(handles.myListbox,'String',myList')
>
> If I put this file name in a text box I haven't any problem. Why
> What can I do?
Try to reduce the listbox's FontSize property value, and/or to change the FontName.
Yair Altman
http://UndocumentedMatlab.com