Buttons side by side in properties

hello.
I am studying with sample sources.
I want to create a button with its properties using Python and create multiple buttons side by side.
Can you give me a hint?
Below, I upload the sample source code I created and the image of the parallel button I want to create.


from vcCommand import *

cmd = getCommand()

prop = cmd.createProperty(VC_URI, “ExcelProperty”)

btn1 = cmd.createProperty(VC_BUTTON, “ApplyBtn”)
btn2 = cmd.createProperty(VC_BUTTON, “CancelBtn”)

def firstState():
executeInActionPanel()

cmd.addState(firstState)

I think that is not possible. For any rich UI you need to use .NET API.

1 Like