Triggering events of UI objects with CTRL++

Discussion about recent product features & solutions!
2 posts • Page 1 of 1
Sabragan
Posts:12
Joined: Fri Feb 01, 2019 4:56 pm

Triggering events of UI objects with CTRL++

Post by Sabragan »

Hi,

Is there a way to trigger an event of a UI element by using CTRL++ ? Like triggering "buttonClicked" event from a CTRL script, or from another event of the object?

Is triggerEvent() function proper for this solution?

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: Triggering events of UI objects with CTRL++

Post by kilianvp »

you can't trigger events like "Clicked"/"DoubleClicked" from CTRL.

But you can put your button logic in a libary and call the function.

Best regards.

2 posts • Page 1 of 1