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

Dialog.SetFieldText

Sets the text for a field.

Component Version macOS Windows Linux Server iOS SDK
Dialog 6.4 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Dialog.SetFieldText"; FieldIndex; Text )   More

Parameters

Parameter Description Example
FieldIndex The index of the field.
Range from 0 to 9.
0
Text The text for the field. "Hello"

Result

Returns OK or error.

Description

Sets the text for a field.

See also

Release notes

  • Version 16.1
    • Enabled Dialog.ClearFields, Dialog.AddField, Dialog.GetFieldText and Dialog.SetFieldText functions for Windows since we got an alternative dialog with edit fields, which does most of our dialog functions.

Blog Entries

This function is free to use.

Created 13th September 2016, last changed 18th February 2026


Dialog.SetDefaultButton - Dialog.SetIcon