RFBUTTON.PadCreate

boolean PadCreate(short nColumns, short nRows, short nBorder)

Function PadCreate(nColumns As Integer, nRows As Integer, nBorder As Integer) As Boolean

Empties the local Button Pad list and initializes the Pad.

Return value
    true

Parameters

nColumns
    Number of columns of the button array.

nRows
    Number of rows in the button array.

nBorder
    Distance between buttons. If set to 0, the buttons are stick together.

Remarks
    You need to add buttons to the pad, and store the pad in the client.

Example

' 2 Columns, 1 row (2 buttons in the pad tops), 1 pixel border
wsRfButton.PadCreate 2, 1, 1
wsRfButton.AddButton 0, 0, "013", "ENTER", 0
wsRfButton.AddButton 1, 0, "027", "CLR", 0
wsRfButton.PadStore "EntClr"

See also    RFBUTTON, AddButton, PadStore