clickfocus

Click the mouse advance focus to specified uicontrols.

You are now following this Submission

Ever get frustrated by the inability to control which uicontrols you can tab between?

CLICKFOCUS provides functionality to select a subset of uicontrols between which focus can be shuttled. Simply enter the figure handle and a list of handles to which you want to increment. When you click the mouse in the figure, focus cycles between the uicontrols specified by the user.

This function provides an easy way to control the progression of the cursor through your GUI.

Cite As

Brett Shoelson (2026). clickfocus (https://nl.mathworks.com/matlabcentral/fileexchange/5521-clickfocus), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: setfocus

Categories

Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0