Buttons Function Reference

sButtonAssignment

Buttons Function Reference | Example

This function enables or disables a button assignment.

<DllImport("SapphireButtons.dll")> _
Public Function sButtonAssignment(ByVal lLicence As Integer, ByVal sButtonID As String, ByVal lButtonEnable As Integer) As Integer
End Function

Parameters

  lLicence
    An integer specifying the licence number of the registered utility. If using in demo mode, enter 1234567890.
  sButtonID
    A string specifying the button to enable/disable.
  lButtonEnable
    An integer specifying whether to enable or disable the button assignment. 1 = Enable, 0 = Disable.

Return Values

  Return value not used.

Remarks

  None