Administrator wrote:Probably a class? Try using ':' instead of '.' for that.
Nah that's not it, but I did try it.
UMMFrameTab3Status.StartSending definately fires.
The send button has this in onclick
I'm pretty sure the butons name is "UMMFrameTab3StatusSend"
The start of the function looks like this
Code: Select all
this.StartSending = function(self)
It's inside another function
Code: Select all
function UMMMassSendItemsStatusTemplate_OnLoad(this)
This is called when UMMFrameTab3Status loads. so 'this' = 'UMMFrameTab3Status'
So;
this:GetParent():StartSending();
=
UMMFrameTab3StatusSend:GetParent():StartSending();
Didn't work. I've also tried
UMMFrameTab3Status:StartSending();
UMMFrameTab3Status.StartSending();
None of these caused errors. The following did.
UMMFrameTab3Status.StartSending(UMMFrameTab3Status);
UMMFrameTab3Status:StartSending(UMMFrameTab3Status);
And lots of other variations.
I'm not sure what effect a function being in another function has, is it possible that is a problem?