E.g.
0001 * // Example to show setting cell contents with the
0002 * // TEXT_BY_POS message.
0003
0004 * // Set the contents of cell [3,4]
0005 colNo = 3
0006 rowNo = 4
0007 cellText = "New Cell Data"
0008
0009 call send_Message( @window : ".TABLE_1", |
0010 "TEXT_BY_POS", |
0011 colNo, |
0012 rowNo, |
0013 cellText )
0002 * // TEXT_BY_POS message.
0003
0004 * // Set the contents of cell [3,4]
0005 colNo = 3
0006 rowNo = 4
0007 cellText = "New Cell Data"
0008
0009 call send_Message( @window : ".TABLE_1", |
0010 "TEXT_BY_POS", |
0011 colNo, |
0012 rowNo, |
0013 cellText )
OpenInsight trivia bonus: The EditTable CELLPOS property is a simple wrapper around the TEXT_BY_POS message.
No comments:
Post a Comment