setfocus

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

現在この提出コンテンツをフォロー中です。

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.

引用

Martin Weber (2026). setfocus (https://jp.mathworks.com/matlabcentral/fileexchange/1898-setfocus), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: clickfocus, jMouseEmu: Mouse Emulator (v2.3)

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0