Hi Terry, Actually you shouldn't want to remove the parantheses. It would be better to prefix with "FontSymbol", e.g. FontSymbol(64,65280,14,"MapInfo Transportation",49,0)
Bitmapped symbols should be prefixed "CustomSymbol", whilest old vector symbols should be prefixed with just "Symbol". The reason for this is to enable one to distinguish between the three types of symbols without having to decode the whole string, and later possibly utilize the resp. three MB creator functions, MakeSymbol, MakeFontSymbol and MakeCustomSymbol. Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ ----- Original Message ----- From: "Terry McDonnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 2004 11:03 AM Subject: RE: MI-L Different Symbols for different Facilities on a map Hi Lars Thanks a lot for your reply. I'm so rusty at the moment that it's going to take a bit of research to take in all you say (I haven't done any MI/MB work for c. 1 year now, from a newbie anyway!). One approach I could get on with immediately is to be able to store the "symbology" string in a table field/var. But I don't know how to "cancel" the quotes in the string, as per my last question. Any hints on this? Med venlig hilsen Terry -----Original Message----- From: Lars V. Nielsen (GisPro) [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 21:06 To: [EMAIL PROTECTED] Subject: Re: MI-L Different Symbols for different Facilities on a map Hi Terry, <snip> ----- Original Message ----- From: "Terry McDonnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 30, 2004 4:57 PM Subject: MI-L Different Symbols for different Facilities on a map <snip> My questions are: * Is there a better way, whereby I could use a symbol such as a bitmap on disc, rather than a font character, as above? * If the above is the only way, could I store the highlighted text in a string and macro substitute it into the command? E.g. Set Map Layer csrTempStop Display Global Global Symbol lcMISymbol * How do I store the highlighted text in a string var or field? E.g. lcMISymbol = "(64,65280,14,"MapInfo Transportation",49,0)" - as soon as MB encounters the 2nd quotes, before "MapInfo", the string is complete, and the rest causes an error. (is there a cancellation code to bracket around quotes so that these appear in the stored text as-is?) --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 14300 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 14309
