nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Question about mouse-click

Von: Jatin (triplederby100-ng@yahoo.com) [Profil]
Datum: 29.04.2007 21:16
Message-ID: <5a6Zh.18094$Kd3.13713@newssvr27.news.prodigy.net>
Newsgroup: alt.comp.lang.borland-delphi
I have a class (that is used by the main form of the application) which
dynamically creates a form and displays it by ShowModal(). After the
user disposes the modal form by clicking its OK button (which closes the
form), the user is supposed to click-drag a rectangle on the main form.
However, the user never gets a chance to click the first corner of the
rectangle, as the application somehow automatically picks up the
click-point of the modal form's OK button when it was pressed, as the
first point for the rectangle. User has chance only to click the second
point of the rectangle.

I have placed Application.ProcessMessage() wherever I could, but hasn't
helped. Is there a way to make the application ignore the click point on
the OK button?

(The dynamically created modal form is owned by the application's main
form).

Jatin
===========

[ Auf dieses Posting antworten ]