Phil & Pierre,

To aviod the confirmation dialog you could use:

Set Map Layer {layer} Label Default

where {layer} is the number of the layer in the mapper (1=topmost layer).

To do all the layers in mapper put the command in a for-loop. For example:

Dim i As SmallInt
For i=1 to MapperInfo(FrontWindow(),MAPPER_INFO_LAYERS)
  Set Map Layer i Label Default
Next
 
Hope this helps.

Regards,
Sue.
++++++++++++++++++++++++++++++++++++++++
 adding   Susan Port
  value   Technical Support Coordinator
     to   [EMAIL PROTECTED]
   your
spatial   Spatial Plus
systems   http://www.spatialplus.com
++++++++++++++++++++++++++++++++++++++++

>Try the following:
>
>Run Menu Command M_MAP_CLEAR_COSMETIC
>
>(this is 814 in MENU.DEF)
>
>A prompt will be presented for confirmation. No idea how to avoid this.
>
>Pierre Henrotay
>Siemens Business Services
>Major Projects
>Tel.: +32 81 559 687
>Fax: +32 81 559 658
>Mail (office): [EMAIL PROTECTED]
>Mail (home): [EMAIL PROTECTED]
>
>
>
> -----Original Message-----
> From: Philip Hammond [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, August 24, 1999 3:28 PM
> To: '[EMAIL PROTECTED]'
> Subject: MI Clear custom label
>
> Does anybody know whether the clear custom label function can be activated

> through MapBasic.  If so, could someone let me know what the code is
> please.
>
> Thanks in advance
>
> Phil
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>----------------------------------------------------------------------
>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to