View Single Post
02-09-11, 11:33 PM   #7
Anuki
A Defias Bandit
Join Date: Feb 2011
Posts: 3
Hey, thank you for your answers and for the links .

Hmm, do I understand it right, that b is a function that calls another function with name CreateFrame()?

PHP Code:
function Alpha() end 
is the same as
PHP Code:
Alpha = function() end 
So I have to set two times an end?

Is
PHP Code:
local b CreateFrame("StatusBar""SchoolLockStatusBar"SchoolLock
the right way, to get the statusbar into my mainframe?

At which point in the code do I have to create the statusbar and how can I use the frame in the both functions
PHP Code:
function SchoolLock_showBar()     
    
b:Show(); 
end 

function SchoolLock_hideBar()     
    
b:Hide(); 
end 
I can understand, that it must be hard as a veteran to explain a beginner the simplest things, but I hope you will do it though.

If someone of you have enough time and desire, could you show me how the code have to be, that it works?
When I have a framework or running example, it would be still easier, to understand, how it works!

Last edited by Anuki : 02-10-11 at 12:10 AM.
  Reply With Quote