0001 function [] = dir_listbox(obj, eventdata, dialog)
0002
0003
0004
0005
0006
0007 this = get(dialog, 'UserData');
0008
0009 v = get(obj, 'Value');
0010 str = get(obj, 'String');
0011
0012
0013 this.public.current_dir =...
0014 fullfile( this.public.current_dir, deblank(str(v,:)) );
0015
0016 cdir = pwd;
0017 cd( this.public.current_dir );
0018 this.public.current_dir = pwd;
0019 cd( cdir );
0020
0021 this.private.current_file = {};
0022
0023
0024
0025 this = set_drive_info(this);
0026
0027
0028 set(dialog, 'UserData', this);
0029 set_gui_property(dialog);
0030