It's 3:44am here in méxico lol, I'll upload an example project in the morning.
The last example call adds 13 image objects to the created toolbar, maybe that's why you are getting those errors. If you add an image object that doesn't exist it will give a nil error .
Here is another example call using less images:
--[On Mouse Move]
mTB = xToolBar.CreateToolbar("mTB", 4, Window.GetSize(Application.GetWndHandle()).Width/2, 10, 32, 3, xMODESTRAIGHTUP, false, true);
--With 4 image objects
for x=1, 4 do
If you want to see the tooltip object you have to place in your project page the 2 buttons included in the rar file, and rename them as their filename (without extension).
xToolBar.Animate(e_X, e_Y, mTB);