Forums WoW Modding Support Archives WoWModding Support Archives [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

[DiscordArchive] Hey guys, I need help with an issue I'm having. I have some Buttons, inherithing from 'SecureActionB

rektbyfaith
Administrator
0
08-24-2021, 03:26 PM
#1
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?
rektbyfaith
08-24-2021, 03:26 PM #1

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?

rektbyfaith
Administrator
0
08-24-2021, 03:27 PM
#2
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.
rektbyfaith
08-24-2021, 03:27 PM #2

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.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)