setfocus

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

Al momento, stai seguendo questo contributo

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.

Cita come

Martin Weber (2026). setfocus (https://it.mathworks.com/matlabcentral/fileexchange/1898-setfocus), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato: clickfocus, jMouseEmu: Mouse Emulator (v2.3)

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0