Lines and Shape identification

kwargo
03-04-2004, 04:54 PM
Is there anyway to determine what line or shape a user has selected.

I have a program which displays various lines on the map. I need to know what line the user has selected. Now we all know that line is "highlighted" and can be moved around and there is a name and/or text associated. There must be someway to identify what line the person is clicking on?

Help

kwargo
03-05-2004, 11:10 AM
I found out how to identify what was selected.

dim shp = Map

If TypeOf MPC.ActiveMap.Selection Is Object Then

Set shp = MPC.ActiveMap.Selection

' do what you want

end if

Eric Frost
03-05-2004, 01:10 PM
Thanks for following up.

Eric

 
Web mp2kmag.com
mapforums.com