View Single Post

  #2 (permalink)  
Old 03-08-2004
kwargo kwargo is offline
Junior Member
White Belt
 
Join Date: May 2003
Posts: 11
I was having the same problem

I found out how to identify what was selected.

Private Sub Timer1_Timer()

On Error GoTo ErrorHandler

dim shp = Map


If TypeOf MPC.ActiveMap.Selection Is Object Then

Set shp = MPC.ActiveMap.Selection
'if the selection is not a shape, it will fail and go to the ErrorHandler
'if not you have the line selected.

' do what you want
' you can determine what line it is if you named your line or put text in

end if

ErrorHandler:

End Sub
Reply With Quote