[DiscordArchive] Hey guys, I need help with an issue I'm having. I have some Buttons, inherithing from 'SecureActionB
[DiscordArchive] Hey guys, I need help with an issue I'm having. I have some Buttons, inherithing from 'SecureActionB
Archived author: Deleted User • Posted: 2021-08-24T15:26:39.780000+00:00
Original source
Hey guys, I need help with an issue I'm having. I have some Buttons, inherithing from 'SecureActionButtonTemplate' frame.
I want to set my buttons, a hotkey, so whenever the hotkey is pressed, the button is clicked.
button:Click() does not work, as it overrides 'OnClick' inherited function (I think it's working like that)
How can I make a work-around for it? Or do I need to re-write the 'SecureActionButtonTemplate' OnClick function on my code?
Archived author: Deleted User • Posted: 2021-08-24T15:27:31.595000+00:00
Original source
Note, I say it overrides the function, because if I do try to set a 'OnClick' function on my code, button just does nothing.