Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: scottingram
Forum: General Authoring Discussion 09-06-23, 07:47 PM
Replies: 0
Views: 1,157
Posted By scottingram
SecureHandlerUnwrapScript

I have a frame and I do a few different
SecureHandlerWrapScript(self, "OnClick", ... )
based on a user's config choices.

When a user changes their config, I may need to remove one of those...
Forum: General Authoring Discussion 09-02-23, 04:46 PM
Replies: 9
Views: 2,006
Posted By scottingram
Oh, right! Thanks. I think I ran into that a...

Oh, right! Thanks. I think I ran into that a few months ago as {foo:GetChildren()} , dealt with my surprise, and then forgot about it. Thanks for the reminder. Memory efficiency above all else...
Forum: General Authoring Discussion 09-01-23, 01:17 AM
Replies: 9
Views: 2,006
Posted By scottingram
Thanks for your suggestions, insights, and...

Thanks for your suggestions, insights, and time!

TLDR:

I'm using the _customscript facility of SecureActionButtonTemplate (thanks!) but have forsaken the evil Get/SetFrameRef of...
Forum: General Authoring Discussion 08-30-23, 11:31 PM
Replies: 9
Views: 2,006
Posted By scottingram
I tried to use SecureActionButtonTemplate I...

I tried to use SecureActionButtonTemplate

I changed my code from:
local protoGerm = CreateFrame("CheckButton", myName, parent, "SmallActionButtonTemplate, SecureHandlerClickTemplate")

to
...
Forum: General Authoring Discussion 08-30-23, 10:44 PM
Replies: 9
Views: 2,006
Posted By scottingram
Thanks so much for the reply! But, I think I...

Thanks so much for the reply! But, I think I posted a reply to your reply as your were editing / deleting it and now it looks like I replied to myself. Anyway, for clarity I'll repeat it here... I...
Forum: General Authoring Discussion 08-30-23, 10:42 PM
Replies: 9
Views: 2,006
Posted By scottingram
thanks for the reply! and OOPS! I made a...

thanks for the reply! and OOPS! I made a copy/paste mistake in my original post. I said that the "main" button is a SecureActionButtonTemplate but I meant SecureHandlerClickTemplate. (I've gone...
Forum: General Authoring Discussion 08-30-23, 06:53 PM
Replies: 9
Views: 2,006
Posted By scottingram
SecureHandlerClickTemplate vs SecureActionButtonTemplate

My addon lets you create and put custom flyouts on your action bars.

The "main" button that sits on the action bar and opens/closes the flyout uses
...
Showing results 1 to 7 of 7