I think that when you program the long add on a PowerCab It may have added the 0 automatically ?
No, you have to type the leading zero to tell the Power Cab that you want it to be a long address. Try it for yourself. Select loco 100 and then 0100 and see how the Power cab displays the address differently, depending on whether you selected long or short address.
This is explained on page 23 of the PowerCab manual. There is no "default" or any automatic zero adding.
When you have a loco with address "100" the natural inclination when assigning it to a throttle is to just type the address in as "100". Since you didn't type a leading zero, the Power Cab will be addressing loco 100 using short address. The Power Cab display will show "100" as the current address.
If you type in "0100" when selecting that loco, the Power Cab will address that loco as "100" (long). The Power Cab display will show "*100" to let you know it is using the long address.