PDA

View Full Version : TXTextControl.NET: How to get the newly inserted table? [TX .NET prerelease]


Unregistered
December 22, 2002, 16:28:05
given Tables.Add returns a boolean, how are you supposed to get a reference to the table you just created?

textControl1.Tables.Add(rows, cols);
TXTextControl.Table TableAtInputPosition = textControl1.Tables.GetItem();
if (TableAtInputPosition == null)
Debug.WriteLine ("Table is null");


This message was originally posted by Mark Smith in the old TX Text Control Support Forum.