API Documentation > CorelDRAW > 2025-v26 > Controls > ICUIControls
Controls.AddCustomButton method
Adds a user command button to the collection
Syntax:
Function AddCustomButton(ByVal CategoryID As String, ByVal Command As String, Optional ByVal Index As Long = 0, Optional ByVal Temporary As Boolean = False) As Control
Parameters:
Name Type Description
CategoryID
String
Command
String
Index
Long
Temporary
Boolean