Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== EditTable CookBook - Setting TEXT_BY_POS ====== === Published 30 SEP 2009 at 09:00:00AM by Captain C === As documented the TEXT_BY_POS message may be used to retrieve the contents of a nominated cell. What is not documented is the fact that you can use it to //update// the contents of a cell as well. It's simply a matter of adding an extra parameter containing the data you wish to set. 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 ) OpenInsight trivia bonus: The EditTable CELLPOS property is a simple wrapper around the TEXT_BY_POS message. === Comments === == Original ID: post-6483835345922207051 == third_party_content/sprezz_blog/15249.375.txt Last modified: 2024/01/17 19:45by 127.0.0.1