I am attempting
to change the display of Highway layers. I want MB to go through the list
of states(this works) and change the line display.
I have the following
code:
Dim i as integer
Dim sStates, sRoot, sST, sPath as
String
Dim oP_Hwy, PenObj As Object
Open Table sPath + sST + "HP.TAB" As
P_Hwy
Map From P_Hwy
Set Map Layer P_Hwy Editable On
set map redraw on
Select obj from P_Hwy into Selection
oP_Hwy = P_Hwy.obj
PenObj = MAKEPEN(2,65,16711680)
Alter Object oP_Hwy
Info OBJ_INFO_PEN, PenObj
When I run
this code I get an error "Could not convert data" and it
all stops.
Can some one please help me.
Thanks
--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 6170
