setfocus

Program to set focus to objects (edit etc) without clicking with the mouse on them.
5,2K téléchargements
Mise à jour 26 août 2002

Aucune licence

Set focus to objects. When starting a Matlab GUI it is normally not possible to activate the cursor in an edit object. Before you can type, you'll have to click with the mouse in the edit field. With setfocus it is possible to activate the cursor with program code by passing the object handle to setfocus. setfocus simply simulate a mouseclick in the area of the object.

Citation pour cette source

Martin Weber (2024). setfocus (https://www.mathworks.com/matlabcentral/fileexchange/1898-setfocus), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R12.1
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et MATLAB Answers
Remerciements

A inspiré : clickfocus, jMouseEmu: Mouse Emulator (v2.3)

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0