Hi Listers

 

I've created a toolbutton and set its event handler, thus, (I've spared
you the rest):

 

Create ButtonPad "Stops" As 

.

  ToolButton  

   HelpMsg "Click this to enable the identification of Bus Stops along a
Route\nSelect a Route's Bus Stops" 

  Calling PLOT_STOPS_EVENT

   ID PLOT_STOPS_BUTTON_ID

   Icon  303 file "mPlanIcons.dll"

   Cursor   MI_ICON_CROSSHAIR 

   DrawMode DM_CUSTOM_POINT

   Disable 

PushButton  

 .

Title "Stops" Fixed

 

Each time I click it I get:

 

"Internal error: 30901"

 

and get chucked out - no other explanation. Owing to the ridiculous
nature of the MB debugger, whereby you can't trace the prog if MI is up
(grrrr! - what's the point of that when >90% of MB's usage is in
conjunction with MI?), I've had to put "NOTE" breaks in my code to see
what happens.  As far as I can ascertain, it doesn't even get into the
handler.

 

Can anyone please shed any light?

 

TIA

 

Terry McDonnell

 

Reply via email to