Neither of these seem to work for me.
For the first bit, it works but still shows when logging in and/or reloading a UI, other then that it performs just like Nibelheim's code.
The second doesn't work at all. All I get is a LUA error when I click the panel (Copy and pasted error below) ... SLData Text shouldn't be causing the issue, I mean I'm pretty sure it isn't. I've tried with different panels, Bartender4 Bars and even other KGPanels just to test it and see and the same result. I named the Panel "TESTMEH" simply for easily identifying it while working on well... testing it. Not sure if I am doing something wrong, either something I'm missing to replace with a frame name or if something is up with the code itself. My LUA knowledge is limited, I can replace certain, obvious, parts. But others may escape me. SLDT Frame names are simple, they always start with SLDT_ Then followed by the module name for example, the clock would be, SLDT_Clock, Mail would be SLDT_Mail.
Shouldn't be any different then any other frame, such as Bartender4 bars, other KGpanels ect, at least in my opinion.
Code:
Message: [string "TESTMEH_OnClickDown"]:10: attempt to index global 'f' (a nil value)
Time: 03/21/13 06:01:33
Count: 1
Stack: Interface\AddOns\Auctionator\AtrErrorInspector.lua:55: in function <Interface\AddOns\Auctionator\AtrErrorInspector.lua:51>
[C]: ?
[string "TESTMEH_OnClickDown"]:10: in function <[string "TESTMEH_OnClickDown"]:1>
Locals: inAtrErrorHandler = true
origErrorHandler = <function> defined *:OnLoad:1
zc = <table> {
msg_red = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:608
IsEnglishLocale = <function> defined @Interface\AddOns\Auctionator\AuctionatorLocalize.lua:52
msg_badErr = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:644
tallyAdd = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1121
msg = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:737
GetArrayElemOrFirst = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:150
NumToBool = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:562
msg_color = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:614
ParseBattlePetLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:429
ShowHide = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:36
StringStartsWith = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:930
printmem = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1031
round = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:602
StringContains = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:892
CopyDeep = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1003
CheckDeferredCall = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:332
priceToMoneyString = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:841
tallyPrint = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1133
TrimBrackets = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:974
GetArrayElemOrNil = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:165
BoolToNum = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:552
If = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:99
periodic = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:355
Min = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:69
msg_pink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:609
SetTextIf = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:47
TrimQuotes = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:954
msg_str = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:627
ItemNamefromLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:471
enc64 = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:215
Val = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:58
IsBattlePetLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:421
StringEndsWith = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:910
printableLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1018
PrintTable = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:385
StringSame = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:874
priceToString = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:805
PullItemIntoMemory = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:520
val2gsc = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:787
PrintKeysSorted = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:110
msg_ex = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:746
Negate = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:572
ClearTable = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:994
BoolToString = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:542
ItemIDfromLink = <function> defined @Interface\AddOns\Au