Rocco,
Try this :
Delete from windowinfo(frontwindow(),WIN_INFO_TABLE)
Where frontwindow() can be replaced with the window id of the map window if
you know it.
The WIN_INFO_TABLE returns the name of the temporary table for the map or
layout window. (i.e. cosmetic)
Hope this helps.
Paul Grambauer
Cessnock City Council
AUSTRALIA NSW.
Ph +61 (02) 49934192
Fax +61 (02) 49934200
Email : [EMAIL PROTECTED]
----------
From: Rocco Zito[SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, 10 November 1999 11:09
To: '[EMAIL PROTECTED]'
Subject: MI Small Mapbasic problem ??
I am issuing a
Run menu Command M_MAP_CLEAR_COSMETIC
to clear the cosmetic layer of the workspace. This works fine but a dialog
asking the user if they want to discard all objects in the cosmetic layer
appears and disrupts the flow of the program. Is there any way I can get rid of
the dialog and just clear the cosmetic layer ??
Thanks
-----------------------------------------------------------
Rocco Zito
Research Engineer
Transport Systems Centre
University of South Australia ph: +61 8 8302 1863
City East Campus, North Terrace fax: +61 8 8302 1880
Adelaide, South Australia 5000 mob: 041 7830 491
Australia email: [EMAIL PROTECTED]
http://www.unisa.edu.au/tsc/index.html
-----------------------------------------------------------
----------------------------------------------------------------------
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]