It's far better to MAKE your users draw a polyline, by writing a custom
ToolButton
that has DrawMode DM_CUSTOM_POLYLINE set. 

The handler is only activated after the user completes a polyline.

Hope this helps
Spencer


-----Original Message-----
From: Possberg, Hendrik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 16, 2003 2:51 AM
To: Mapinfo-List (E-Mail) (E-Mail)
Subject: MI-L MB: Eventhandler --Polyline is drawn? 


Dear list,

i am writing an application and  looking for a way to get to know if the
user ended up drawing an polyline. After the user completed the Polyline I
would like to open a window/dialog to allow the user to insert attributes
for this object. Is this possible? Iam using Mapinfo 7.0 and Mapbasic 7.0.

Any help would be appreciated.


Mit freundlichen Gr��en

microm
Micromarketing-Systeme und Consult GmbH


Hendrik Po�berg
Geodaten

Hellersbergstr. 14
41460 Neuss
Phone: 02131-10 97 51
Fax:   02131-10 97 77
mailto:[EMAIL PROTECTED]


Aktuelles:

***
Immer am Ball? Einmal pro Quartal erscheint unser microm eNewsletter, der
Sie aktuell 
ueber die neuesten Entwicklungen bei microm rund um unsere Daten, Systeme
und 
Dienstleistungen informiert. Einfach eine kurze E-Mail mit Name und E-Mail
Adresse an 
<mailto:[EMAIL PROTECTED]> senden! Die naechste
Ausgabe erscheint im September.
***
____________________________________________

Diese Nachricht wurde elektronisch versandt und ist daher auch ohne
Unterschrift rechtsgueltig. Der Inhalt dieser E-Mail enth�lt vertrauliche
Informationen. Das Kopieren und die Weitergabe an Dritte ist nicht
gestattet. Sollten Sie diese E-Mail irrtuemlich von uns erhalten haben,
bitten wir Sie, diese zu vernichten und uns darueber zu informieren. Im
Voraus vielen Dank. ____________________________________________


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 8401



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 8402

Reply via email to