How to change the CloseRequestFcn ??
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
laila bsr
am 10 Jul. 2015
Beantwortet: laila bsr
am 10 Jul. 2015
I've tried to modify the CloseRequestFcn and add a questdlg but it doesn't work :/ Here is the code I used: *
function mymenu_CloseRequestFcn(obj, event, handles)
selection = questdlg('Save data?',...
'','Yes','No');
switch selection,
case 'Yes',
delete(hObject);
case 'No'
return
end*
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!