setfocus

Program to set focus to objects (edit etc) without clicking with the mouse on them.

Vous suivez désormais cette soumission

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 (2026). setfocus (https://fr.mathworks.com/matlabcentral/fileexchange/1898-setfocus), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

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

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0