Hello,All: thanks all! I have resolve "hexagon" problem! :-) but now i have another problem,please help me! In VB5 , ... mapinfo.do "dim rangelimits() as float" mapinfo.do "dim brushstyles() as Brush" ... it runs OK! but in Delph4 , ... mapinfo.do('Dim rangelimits() As Float'); mapinfo.do('Dim brushstyles() As Brush'); ... my god,it runs error!!! :-( it shows message dialog "Syntax Error: (" Why? How can i write it in Delphi? thanks! Xu Xiaoning [EMAIL PROTECTED] [EMAIL PROTECTED] ICQ:46904055 ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]