Parametric designs

Hi There,

Im looking for a way to make a radius parametric. I can steer the height etc of for instance of a cube with shape keys, but cannot figure out how to do a radius on the edges that keeps tangential. I know it has been done before.

Many thanks in advance,