Skip to content

M_MSCLoader_Settings_AddTextBox

piotrulos edited this page Jan 15, 2026 · 9 revisions

AddTextBox(String, String, String, String, Boolean) Method

Add TextBox where user can type any text

Definition

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.4.0.388

C#

public static <a href="T_MSCLoader_SettingsTextBox">SettingsTextBox</a> AddTextBox(
	string settingID,
	string name,
	string value,
	string placeholderText,
	bool visibleByDefault = true
)

View Source

Parameters

  String
Your unique settings ID
  String
Name of text box
  String
Default TextBox value
  String
Placeholder text (like "Enter text...")
  Boolean  (Optional)
Visible by default (default=true)

Return Value

SettingsTextBox
SettingsTextBox

See Also

Reference

Settings Class
AddTextBox Overload
MSCLoader Namespace

Clone this wiki locally