Hi Tony! What do you mean by this line? "the first object obtained from the table created by save cosmetic objects. " Do not excpect this to be the first rowid of the table view.
As has been pointed out many times on this list, there is no correlation between the order of attribute rows and the draw order of the geometric objects. You say that the text objects you feel disappears are supposed to be drawn on top of the 'mask' I think they are drawn under it instead. Then, if you edit them they will move to the back of draw queue and be drawn on top. But not necessarily stay there, the spatial index will be rebuilt when you save the stuff. I can think of a couple of solutions to get around the problem. One is to abandon the idea of the mask and use transparent elements and a very contrasting font with fat line around the graticule area. Or, abandon the idea of using a table for the graticule components and create these programmatically to the cosmetic layer. This will give you control over the draw order. Third, as is often suggested, make dynamic subselects of the graticule table, dividing it into region, line and text temporary tables. But you cannot of course put these into the cosmetic layer. H�lsning / Best regards Mats.E ________________________ FB Engineering AB S�dra F�rstadsgatan 26 211 43 Malm� Tel: 040-660 25 50 Mobil: 0705-27 60 27 Fax: 040-660 25 99 [EMAIL PROTECTED] www.fbe.se "Photogrammetry GIU" <[EMAIL PROTECTED]> 2004-12-09 16:25 Till "MapInfo List (E-mail)" <[EMAIL PROTECTED]> Kopia �rende MI-L Cosmetic Layer Object Order Hi all Recently I have been creating an application which treats the cosmetic layer as an editable scribble pad. When the mbx starts up, it clears the cosmetic layer and sets it to editable. A mask is created around a mapper area, graticule components drawn and latitude & longitude values positioned at the corners, with the text meant to be visible on top of the holdout mask Unfortunately, strange things are happening... The first object written to the Cosmetic layer (the mask) is not the first object obtained from the table created by save cosmetic objects. The textual objects sometimes appear, sometimes not. If I edit a one of the invisible objects and change the font colour it appears. If I save the run to a workspace and then reload the workspace, nothing has changed. Any ideas Tony The average family throws out six trees of paper a year - please respect the environment and be green by example, only print out this E-Mail and attachments if you have to. Thank you. This E-mail and any files transmitted with it are private and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, the E-mail and any files have been transmitted to you in error and any copying, distribution or other use of the information contained in them is strictly prohibited. Nothing in this E-mail message amounts to a contractual or other legal commitment on the part of English Nature unless confirmed by a signed communication. English Nature will make every effort to keep its network free of viruses. However, the recipient of this message will need to scan this message, and any attachments, for viruses, as English Nature can take no responsibility for any computer virus that might be transferred by this e-mail. --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 14461 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 14463
