Yes, that´s true. Some pharmaceuticals can really cause overweight.
Usually you might gain weight after taking phramaceuticals for treatment of depression and low blood pressure. When taking these pharmaceuticals, eat less or exercise more to prevent weight gain.