Click the mouse advance focus to specified uicontrols.
Updated 23 Jul 2004

View License

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 (2024). clickfocus (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

Inspired by: setfocus

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes