Hello, Remember my question about how to find the text object in the layout after user's modifications? I have found the solution that satisfies my needs. Here are the facts: 1. Each layout object has RowID. I thought that this rowid may be changed with bring to front/send to back commands, and by deleting the object (like if you delete object with rowid=3, rowids of the objects 4, 5, ... will be decrement). This is not true - see next fact. 2. RowID of the layout object is constant during the life of the layout. It is defined by the sequential number of the Create statement in the command used to create the layout. The solution is the following: remember the RowID of the text object. After the user modifies the layout, get the command that will be used to re-create the layout (WindowInfo(layoutid, WIN_INFO_CLONEWINDOW)), and find that text and its new RowID. If the object with the stored RowID could not be fetched - is was deleted. Hope this will help some MapBasic developer. If my description is unclear - questions are welcome. Dmitry Dmitry Bogdanov GIS Department Manager Kiev Software Factory Ltd. room 46 9/12 Baumana St, Kiev, Ukraine 252190 Tel: (380 44) 442-6077; (380 44) 443-7925 Fax: (380 44) 443-7925 Internet: http://www.ksf.kiev.ua ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
