BevelButton.InsertRow

From Xojo Documentation
Jump to: navigation, search
Method
BevelButton.InsertRow ( Row as Integer, Text as String )

Inserts a row in the position indicated by Row using Text as the menu item.

Example

This example inserts a new row after “Second Item”, bumping the separator and the last items down by one.

Me.caption="Items"
Me.captionalign=0 //flush left
Me.hasMenu=2 //menu on right

me.addRow "First item"
me.addRow "Second item"
me.AddSeparator
me.addRow "Third item"
me.InsertRow 2,"Inserted Item"
</rbcode)
Personal tools
Namespaces

Variants
Actions
Main
Documentation
Community
Toolbox
Help