My mother being a diabetic was quite concerned about what I ate. Candy was a big no no.
I only remember as a boy going out once and my father accompanied me. And I only remember going to one house, an elderly couple. I don't remember if I ate any of the candy but I doubt that I did.
One time we went to visit my paternal grandmother. She gave me a candy bar. Once back in the car on the way home my mother took it and gave it to my father.