Hi there

Have a look at this first.
http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/8c5bebbc987d60bc85256
802007c3aae?OpenDocument 


MapX uses OLE_COLOR values represented in BGR values, MapInfo tables use
colors represented by RGB values.

I used this in a VB6 applcation to convert the mapX colours to MapInfo.

Public Function BGRtoRGB(bgr As Long) As Long
    Dim RED As Long
    Dim green As Long
    Dim BLUE As Long
    
    BLUE = (bgr And 16711680) / 65536
    green = (bgr And 65280) / 256
    RED = bgr And 255
    BGRtoRGB = (RED * 65536) + (green * 256) + BLUE
End Function

Cheers

Scott Pontifex
GIS Programmer
Demography/Population Program
Secretariat of the Pacific Community (SPC)
B.P.D5, Noumea Cedex 98848
New Caledonia
Phone (687) 26.20.00 ext(331)
Fax (687) 26.38.18
E-mail: [EMAIL PROTECTED]
www.spc.int/demog




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 29 March 2005 10:19 AM
To: MapInfo-L
Subject: MI-L Mapinfo layer color in Mapinfo desktop and Map extreme
differ

HI

I have problem, the color for a layer look different when opened in
Mapinfo Desktop and Map extreme . Both the location have the same
pattern, forecolor and background color number. I am not sure why this
happens

Can some one please help me identify this weird problem.

San Francisco county data displayed in MapInfo and MaxXtreme (the
mapxtreme for java version is 3.1.0).


Thanks




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 15830


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 15833

Reply via email to