Hi List
 
I have several Facilities on the map (such as shops, POs, churches, et
al)
Each facility has a "catchment area" - a coagulation of zone polygons
(e.g. for a church they could be, say, its parish)
I have a toolbar with a toolbutton which is meant to be used to display
the catchments.  i.e. after the toolbutton is pressed, clicking on a
facility, with the tool, should invoke a procedure to select and display
all the zones in its catchment.
 
Trouble is:  after selecting the tool, and clicking on a fac., nothing
is selected, so my code, referring to the selection crashes.  If,
however, before selecting the tool, I've already selected a fac. by
clicking on it with the std. selection tool, then the code works OK.
Hence, my tool isn't "firing" a selection when clicked on the map.
 
What I need is for the tool to "recognise" the object it clicks on, in
the way, say, the "info" tool gives you the info on the object you click
on.
 
It would seem that a "selection" process is out so what is the event
that I should react to?  Or how am I going wrong?
 
'ppreciate it
 
Terry McDonnell

Reply via email to