Callback
PropertyUser Action Components That Use This
Property
CloseRequestF
cnThe figure closes. figureCreateFcn Callback executes when MATLAB
creates the object, but before it is
displayed.axes, figure, uibuttongroup,
uicontextmenu, uicontrol,
uimenu, uipushtool, uipanel,
uitable, uitoggletool,
uitoolbar
DeleteFcn Callback executes just before
MATLAB deletes the figure.axes, figure, uibuttongroup,
uicontextmenu, uicontrol,
uimenu, uipushtool, uipanel,
uitable, uitoggletool,
uitoolbar
KeyPressFcn End user presses a keyboard key
while the pointer is on the object.figure, uicontrol, uipanel,
uipushtool, uitable,
uitoolbar
KeyReleaseFcnEnd user releases a keyboard key
while the pointer is on the object.figure, uicontrol, uitableOffCallback Executes when the State of a
toggle tool changes to 'off'.uitoggletoolOnCallback Executes when the State of a
toggle tool changes to 'on'.uitoggletoolSizeChangedFc
nEnd user resizes a button group,
figure, or panel whose Resize
property is 'on'.figure, uipanel,
uibuttongroupSelectionChan
gedFcnEnd user selects a different radio
button or toggle button within a
button group.uibuttongroupWindowButtonD
ownFcnEnd user presses a mouse button
while the pointer is in the figure
window.figureWindowButtonM
otionFcnEnd user moves the pointer within
the figure window.figure10 Code a Programmatic App