[mapguide-users] RE: ForegroundColor from FDO property

Traian Stanev traian.stanev at autodesk.com
Fri Mar 12 10:21:12 EST 2010


Double or Int64 won't work, it has to be Int32, or you have to make your color expression in the XML include an explicit cast to Int32, like this:

ToInt32(myInt64FdoProperty)

FDO expressions are strongly typed. Sometimes unnecessarily so. :)

Traian


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of David Hequet
Sent: Friday, March 12, 2010 4:56 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: ForegroundColor from FDO property


Thanks! It works!

Note: the FDO property containing the "integered" color must be a string
property type.
I tried with double or int64 property type, doesn't work.

David 
-- 
View this message in context: http://n2.nabble.com/ForegroundColor-from-FDO-property-tp4708122p4721339.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list