>do case > case len(trim(this.value))>50 > this.height=48 > case len(trim(this.value))>25 > this.height=32 > otherwise > this.height=16 >endcase
this.height = ((Int(len(trim(this.value))) / 26) + 1) * 16