The update statement was missing... Thank you
Simon -----Message d'origine----- De�: Jacques Paris [mailto:[EMAIL PROTECTED] Envoy�: 18 avril 2005 15:44 ��: Simon Roy Objet�: RE: MI-L Alter object Did you forget to add next Update selection set obj=objText ? Jacques Paris e-mail [EMAIL PROTECTED] MapBasic-MapInfo support http://www.paris-pc-gis.com -----Original Message----- From: Simon Roy [mailto:[EMAIL PROTECTED] Sent: April 18, 2005 15:42 To: Mapinfo-L Subject: MI-L Alter object Hi, Beginner question.... Can anybody tell me what's wrong with this? 'The selection is a text object in a Layout Dim objText As object objText = selection.obj Note objectinfo(objText, OBJ_INFO_TEXTSTRING) Alter object objText Info OBJ_INFO_TEXTSTRING ,"whatever" When I run this part of code, The Note gives me the text string of the selected object correctly, but the Alter statement seems to be ignored (nothing is happening). Thank you Simon Roy _______________________________ Sp�cialiste en g�omatique Carto-M�dia, Environnement Illimit� inc. t�l.:514-849-7281 fax.:514-849-6770 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 16144
