I forgot a quotation mark at the beginning of the string:

Dim s As String

s = "Set Map Layer 2 Display Global Global Brush (2, " +
    Can_col +
    ", 16777215)"

Run Command s


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to