home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!darwin.sura.net!dtix!oasys!roth
- From: roth@oasys.dt.navy.mil (Pete Roth)
- Newsgroups: comp.lang.pascal
- Subject: Re: Track double clicks in HandleEvent, etc.
- Message-ID: <24777@oasys.dt.navy.mil>
- Date: 9 Sep 92 17:43:39 GMT
- References: <SHEN.92Sep9131200@nil.IRO.UMontreal.CA>
- Reply-To: roth@oasys.dt.navy.mil (Pete Roth)
- Organization: The David Taylor Model Basin
- Lines: 18
-
- In comp.lang.pascal, shen@nil.IRO.UMontreal.CA (Yu Shen) writes:
- [...]
- ]procedure TMyView.HandleEvent(var Event: TEvent);
- ]begin
- ] TView.HandleEvent(Event);
- ] case Event.What of
- ] evMouse:
- ] if Event.Double then SelectIt; {it is never reached!}
- ] evMouseDown:
- [...]
-
- make sure you enable the event. Check the documentation for
- 'evXXXX'...
-
- regards, pete
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- Peter N Roth roth@oasys.dt.navy.mil
- "Never argue with someone who buys ink by the barrel." - Daniel Janal.
-