This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
text_field [2020/11/30 20:30] – justin | text_field [2020/12/06 21:11] (current) – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
=====Element Properties===== | =====Element Properties===== | ||
^Icon^Property^Description^ | ^Icon^Property^Description^ | ||
- | (WIP) | + | |{{: |
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
=====Scripting===== | =====Scripting===== | ||
+ | You can access and change certain properties of a text field from within a [[script]] by simply referencing the parent [[widget]] and the element by their unique IDs. See below for examples of both changing the field' | ||
- | (WIP - Accessing/changing properties of the element | + | **Changing a field' |
+ | <code bauxite> | ||
+ | widget[" | ||
+ | </code> | ||
+ | |||
+ | **Storing a field' | ||
+ | <code bauxite> | ||
+ | $name = widget[" | ||
+ | display_message(" | ||
+ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |