A bump formed on your lid was probably a stye, an infected sebaceous gland at the base of eye lashes.
This can be preceded with redness, tenderness and pain.
Accompanying symptoms of a stye are itching, swelling, watering of the eye, sensitivity to light, and discomfort when blinking.
A blepharitis (an eczematous condition of the eyelids) can make you more prone to forming styes.
Blepharitis (redness, itching, irritation) is usually misdiagnosed as conjuctivitis.
Actually you may have a staphylococcal blepharitis that has result in formed stye.