LPARAMETERS nColIndex DO CASE CASE nColIndex == (Index of the column with the Memo) .AND. this.RowHeight # (desired row height) this.RowHeight = (desired row height) CASE nColIndex # (Index of the column with the Memo) .AND. this.RowHeight == (desired row height) this.RowHeight = (initial row height) ENDCASEIn that way when You enter the column with memo the rowHeght will be expanded and after leaving will be reset to initial value