# make sure that your style is specified in object panel of Vector Layer Controls if ( POLYSTATS.Area > 200000) then begin DrawBorder = 0 FillInside = 1 FillColor$ = "yellow" end else begin DrawBorder = 0 UseStyle = 1 Style$ = ClassStyle._StyleName_ # option 1 (use style assignment table, must have style by attribute settings set up to use this) # Style$ = "WATER" # option 2 # FillColor$ = "cyan" # option 3 end