no edit summary
m (→Drop Down Menu Item Clicking: Improved readability) |
No edit summary |
||
| Line 16: | Line 16: | ||
Futher modifications are made using functions that are bound to a "virtual" drop down menu. You need to supply the actual frame object as an argument to modify a particular drop down menu object as shown below: | Futher modifications are made using functions that are bound to a "virtual" drop down menu. You need to supply the actual frame object as an argument to modify a particular drop down menu object as shown below: | ||
: <tt>UIDropDownMenu_SetWidth(80 | : <tt>UIDropDownMenu_SetWidth(MyDropDownMenu, 80) --Sets the width of MyDropDownMenu to 80 pixels. When MyDropDownMenu is orignally created, it has a default width. If the default width is not appropriate, then this function is the one for you. | ||
: UIDropDownMenu_SetButtonWidth(20 | : UIDropDownMenu_SetButtonWidth(MyDropDownMenu, 20) --Changes the drop down menu button with from it's default width to 20 pixels</tt> | ||