Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Double click on TSpliter

0 views
Skip to first unread message

Jacek Gońka

unread,
Oct 28, 1998, 3:00:00 AM10/28/98
to
Can I use OnDblClick event in TSpliter.
How it is possible. TSpliter doesn't
have this event.
Jacek

Michael Warner

unread,
Oct 28, 1998, 3:00:00 AM10/28/98
to

If you derive your own component from TSplitter,
you could try a couple of things:
- Override MouseDown, measuring the time
interval between clicks using GetTickCount()
to trigger a custom event handler.
- Override TControl::DblClick, with csDoubleClicks
included in ControlStyle.

BTW, responding to a double-click would be
a pretty unusual feature in a splitter.

0 new messages