I'm having trouble using the cl functions. Shouldn't the following (in a
script, newbar.powerpro) show a small bar when run?
local hbar = cl.Create("ANewTemporaryBar", 1)
local hitem = hbar.Insert(0)
hitem.SetLabel("Test")
hitem.AddLeft("notepad")
hbar.Show
I get no error, but nothing showing.
Oddly, if I add a hbar.Hide just before creating the item, I get an error, but
then if I continue, the bar shows as expected!
I'm probably doing something dumb (this is my first attempt at writing a
script) - can anyone spot what I've messed up?
Thanks,
Paul.