Hi Sergey,
The cell.documentheight somehow always returns 0 ... however, the documentheight of the TopLevelEditor does return the actual formatted textheight. When the input text "overfills" the cell the TopLevelEditor.DocumentHeight gets higher then the Cell.BestHeight. Bingo!
Thanks!
Search found 2 matches
- Wed Apr 23, 2014 6:39 pm
- Forum: ScaleRichView
- Topic: How to prevent a user entering more text then fits the cell
- Replies: 2
- Views: 17153
- Tue Apr 22, 2014 5:39 pm
- Forum: ScaleRichView
- Topic: How to prevent a user entering more text then fits the cell
- Replies: 2
- Views: 17153
How to prevent a user entering more text then fits the cell
Hi, The cells in a table must keep their originally assigned size. To prevent the cells from re-sizing when the input text exceeds the visible cell space the table.options include [rvtoIgnoreContentWidth, rvtoIgnoreContentHeight, ...]. It prevents cell re-sizing but the user can still type in more ...