NuiTextEdit( json, json, int, int )

From NWN Lexicon
Jump to: navigation, search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

A editable text field.


// A editable text field.
json                     // Element
NuiTextEdit(
  json jPlaceholder,     // Bind:String
  json jValue,           // Bind:String
  int nMaxLength,        // UInt >= 1, <= 65535
  int bMultiline         // Bool
);

Returns

jons Element


Parameters

jPlaceholder
Can be either a JsonString or NuiBind (don't get it confused with NWN string).
jValue
Can be either a JsonString or NuiBind (don't get it confused with NWN string).
nMaxLength
Max Length of text edit box. Note: this is a NWN int, NOT a JsonInt
bMultiline
Can be single or multi line. Note: this is a NWN "bool", NOT a JsonBool.


Description

A editable text field.


Remarks

Version

This function was added in 1.85.8193.31 of NWN:EE.


Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.


See Also

functions:

NUI Functions