Buttons Function Reference

sButtonAssignment

Buttons Function Reference | Example

This function enables or disables a button assignment.

Declare Sub sButtonAssignmentLib "SapphireButtons.dll" (ByVal lLicence As Long, ByVal sButtonID As String, ByVal lButtonEnable As Long)

Parameters

  lLicence
    A long 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
    A long specifying whether to enable or disable the button assignment. 1 = Enable, 0 = Disable.

Return Values

  None