User:JulienDethurens/Draft
From Legacy Roblox Wiki
Jump to navigationJump to search
Arguments | Instance instance, string propertyName, Enum enumType |
---|---|
Returns | 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' |
Arguments | table items, function onItemSelected |
---|---|
Returns | 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. |
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. |