Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/04/14, 04:59 PM   #1
InfiniteShift
Join Date: Jun 2014
Posts: 4
OnUpdate not working. D=

At the moment I'm just fiddling around, trying to set up a basic clock. I'm unsure of what I'm doing wrong here.

lua Code:
  1. tkClock = tkUI.CreateText("tkClock", Guiroot) --CT_LABEL
  2. tkClock:SetAnchor(TOPRIGHT,Guiroot,TOPRIGHT,-10,-5)
  3. tkClock:SetHandler("OnUpdate", function()
  4.   tkClock:SetText(GetTimeString())
  5. end)
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » OnUpdate not working. D=


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