setfocus

版本 1.0.0.0 (2.0 KB) 作者: Martin Weber
Program to set focus to objects (edit etc) without clicking with the mouse on them.
5.2K 次下载
更新时间 2002/8/26

无许可证

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 (2024). setfocus (https://www.mathworks.com/matlabcentral/fileexchange/1898-setfocus), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R12.1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0