|
|
(20 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {| class="wikitable"
| |
| |+CreatePropertyDropDownMenu
| |
| |-
| |
| !Arguments
| |
| |[[RBX.lua.Instance_(Object)|Instance]] instance, [[string]] propertyName, [[Enum]] enumType
| |
| |-
| |
| ! Returns
| |
| |[[RBX.lua.Instance_(Object)|Instance]] container
| |
| |-
| |
| ! Description
| |
| |returns a container with a drop-down-box that is linked to the 'property' field of 'instance' which is of type 'enumType'
| |
| |}
| |
|
| |
|
| {| class="wikitable"
| |
| |+CreateDropDownMenu
| |
| |-
| |
| !Arguments
| |
| |[[table]] items, [[function]] onItemSelected
| |
| |-
| |
| ! Returns
| |
| |[[RBX.lua.Instance_(Object)|Instance]] container, [[function]] updateSelection
| |
| |-
| |
| ! Description
| |
| |First argument should be a table full of strings that will populate menu. Second argument should be a function that takes one argument, and is called when a user selects a new object in the drop down menu. Returns 2 results, a gui container to the gui object and a 'updateSelection' function for external updating. The container is a drop-down-box created around a list of items.
| |
| |}
| |
|
| |
| {| class="wikitable"
| |
| |+CreateMessageDialog
| |
| |-
| |
| !Arguments
| |
| |[[string]] title, [[string]] message, [[table]] buttons
| |
| |-
| |
| ! Returns
| |
| |[[Instance]] dialog
| |
| |-
| |
| ! Description
| |
| |Returns a gui object of a message box with 'title' and 'message' as passed in. 'buttons' input is an array of Tables contains a 'Text' and 'Function' field for the text/callback of each button.
| |
| |}
| |