Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-18-10, 12:45 PM   #1
herka
A Defias Bandit
Join Date: Jun 2010
Posts: 3
lua/xml hide() help plz

well either im blind or really dont know what wrong.

xml:
Code:
<Scripts>
<OnClick>bq_hide();</OnClick>
</Scripts>
lua:
Code:
function bq_hide()
    bqbForm:Hide();
end
frame name is bqbForm just for the record.
Every time i press the button witch calles bq_hide() i get:
Code:
 [string "bqbForm:OnHide"]:1: attempt to index global 'this' (a nil value)
and i really cant find where did i go wrong or is it a new change since the patch.

tnx

herka
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » lua/xml hide() help plz


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off