Skip to content



Items that handle key strokes should implement this interface.


Name Parameters Returns
DoCommand command As String
InsertCharacter char As String, range As TextRange
RectForRange range As TextRange Xojo.Rect

Method Descriptions

DoCommand(command As String) A key command has occurred.

InsertCharacter(char As String, range As TextRange) The user is attempting to insert a single character into this item.

RectForRange(range As TextRange) As Xojo.Rect Return a range for macOS to display the character picker.