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(Front
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 (h