User:JulienDethurens/Draft: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
>JulienDethurens
Blanked the page
Line 1: Line 1:
{{User:JulienDethurens/Sandbox
|name        = 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'
|library      = RbxGui
}}


{{User:JulienDethurens/Sandbox
|name        = 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.
|library      = RbxGui
}}
{{User:JulienDethurens/Sandbox
|name        = 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.
|library      = RbxGui
}}

Revision as of 03:34, 24 January 2012