Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets focus to the view.

Component Version macOS Windows Linux Server iOS SDK
Preview 13.5 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Preview.SetFocus"; PreviewRef )   More


Parameter Description Example
PreviewRef The reference ID for this preview control. $ref


Returns OK or error.


Sets focus to the view.
This happens automatically, when user clicks on the view.

See also

Release notes

Blog Entries

This function is free to use.

Created 14th October 2023, last changed 14th October 2023

Preview.SetAutostarts - Preview.SetFrameWithControl