>I want to put a chosen colour from a dialog popupmenu into a
>variable and then into a fill colour for a polygon.
>
>The following line is where I am trying to set the colour of my
>polygon table, Can_col is the variable which has the colour code
>number.
>
>Set Map Layer 2 Display Global Global Brush (2, Can_col ,16777215)
>

It works this way:

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