I have a static text box that is located above a frame in my GUI. I have its 'Enable' property set to 'inactive', so when I click on it, its 'ButtonDownFcn' callback should be activated. However, when I left-click on the text box, the 'ButtonDownFcn' isn't activated. If I right-click on the text box, the 'ButtonDownFcn' is activated.
MATLAB: Doesn’t the ‘ButtonDownFcn’ of the static text box get activated when it is located above a frame
buttondownfcnframeMATLABuicontrol
Related Question
- In MATLAB 6.0 (R12) why does the callback of an edit uicontrol not fire when I change text in the field and then go to a menu and select an item on that menu
- Obtain data points from plot using ‘buttondownfcn’ nested functions
- ‘ButtonDownFcn’ – Passed parameters need to be updated
- Does the ButtonDownFcn callback not execute when I click on a uicontrol object with the left mouse button in MATLAB 7.0.4 (R14SP2)
- Does a right mouse click followed by an “ESC” key event corrupt the chart in Stateflow 6.0 (R14)
- Scope of ‘ButtonDownFcn’ property of lines in structure [R2017b]
Best Answer