You should add the value to one in the callback perform_clear_attach as follows :
set(hClearAttach,'Enable','off','value',1) otherwise your listbox can disappear.
- attache 2 files
- highlight the second file attached in listbox
- click clear attachments
- > your listbox has disappeared and you cannot add anymore attachment
The warning thrown is:
Warning: multi-selection listbox control requires that Value be an integer within String range
Control will not be rendered until all of its parameter values are valid
- attach a file
Just an aesthetic note: The color is Terrible. Choose something less intrusive...
18 Nov 2009
Added a panel for sender information.
20 Nov 2009
Error messaging improved for empty subject, invalid address.
Fixed cancel-button bug in the sender information dialog.
The look is now less hideous, and now it is easier to change the background and foreground color.
30 Sep 2010
Fixed a bug causing the attachment listbox to vanish.
Fixed error messages due to empty mail prefs