DelphiFAQ Home Search:

How to add DblClick event?

 

comments7 comments. Current rating: 3 stars (3 votes). Leave comments and/ or rate it.

If it has TControl as an ancestor then put:

published property OnDblClick;

into your class declaration.

Otherwise use the following code to capture the message:

type
  TYourClass=class(WhatEverclass you want)
  private
    FOnDblClick : TNotifyEvent;
  procedure WMDblClick(var :TWMLButtonDBLCLK);
    message WM_LBUTTONDBLCLK;
  // ..
  public
    OnDblClick : TNotifyEvent read FOnDblClick write FOnDblClick;
  end;

// if you don't want a property OnDblClick
procedure TYourClass.WMDblClick(var :TWMLButtonDBLCLK);
begin
  inherited;
  // do your stuff here
end;

// or: if you do want a property OnDblClick
procedure TYourClass.WMDblClick(var :TWMLButtonDBLCLK);
begin
  inherited;
  if Assigned (FOnDblClick)
    FOnDblClick(Self);
end;

Comments:

2012-06-05, 21:36:13
anonymous from China  
<strong> http://www.coachout..strong> <a href=' http://www.coachout..g>Coach Outlet Online</strong></a><br />
<strong> http://www.coachfac..strong> <a href=' http://www.coachfac..g>Coach Factory</strong></a><br />
<strong> http://www.myloveco..strong> <a href=' http://www.myloveco..g>Coach Outlet Online</strong></a><br />
<strong> http://www.buyincoa..strong> <a href=' http://www.buyincoa..g>Coach Outlet</strong></a><br />
<strong> http://www.cheapcoa..strong> <a href=' http://www.cheapcoa..g>Cheap Coach Handbags</strong></a><br />
<strong> http://www.coachfac..strong> <a href=' http://www.coachfac..g>Coach Factory Outlet</strong></a><br />
<strong> http://www.buycoach..strong> <a href=' http://www.buycoach..g>Coach Outlet Online</strong></a><br />
<strong>www.coachoutletonfactory.net</strong> <a href=' http://www.coachout..g>Coach Factory Outlet</strong></a><br />
<strong>www.coachoutletonline4you.us</strong> <a href=' http://www.coachout..g>Coach Outlet Online</strong></a><br />
<strong>coachfactoryoutletq.net</strong> <a href=' http://www.coachfac..g>Coach Factory</strong></a><br />
<strong>gotocoachoutlets.net</strong> <a href=' http://www.gotocoac..g>Coach Outlet Online</strong></a><br />
2012-06-18, 21:43:58
anonymous from Colombia  
One alleged victim would routinely throw away his underwear to hide [url= http://www.louisvui..net/]Louis Vuitton Bags[/url] the supposed abuse. Week two of the trial began with a final prosecution witness. The mother of Victim No. 9 took the [url= http://www.chanelou..et/]Chanel Purses[/url] stand Monday to detail her son’s cover-up of the alleged sordid acts he suffered at Sandusky’s hands. “I [url= http://www.guccibel..rg/]Hermes Belts[/url] always wondered why he never had any underwear in the laundry,” she testified. “He just told me he had an [url= http://www.beltsout...org/]Mens Belts[/url] accident and he threw them out.” Indeed, she testified that he started becoming “sick” more often after [url= http://www.topbelts..org/]Gucci Belts[/url] spending time with the ex-Penn State coach. Victim No. 9 supposedly slept over at the Sandusky residence more than 100 times.Victim No. 9 testified [url= http://www.louisvui..net/]Louis Vuitton Handbags[/url] last Thursday that he screamed during one episode of alleged abuse, hoping that [url= http://www.beltsonl..com/]Louis Vuitton Belts[/url] Sandusky’s wife, who he said was always upstairs, would hear. “I think the basement is soundproof,” he said [url= http://www.chanels-..om/]Chanel Handbags[/url] tearfully, noting that Sandusky’s wife Dottie never did come down.Lead defense attorney Joe Amendola has also [url= http://www.chanelba..om/]Chanel Handbag[/url] suggested previously that the accusers and the Attorney General’s office might be colluding. Lead prosecutor Joe [url= http://www.lvshopos..net/]Louis Vuitton Purses[/url] McGettigan has often queried the alleged victims while on the stand: “Have I ever, ever, ever told you what to say?” which they’ve answered with resounding denials. But it could be a larger issue for Kline and the other subpoenaed attorneys to defend themselves against a [url= http://www.louisvui..com/]Louis Vuitton Purse[/url]
charge of violating the gag order issued by Judge Cleland, which bars any representative from either side from discussing the case with the media.


2012-11-12, 02:13:18
anonymous from United Kingdom  
2013-02-06, 04:48:13
 
rating
eikkljl <a href=' http://viagraonlinetd.com/ '>viagra</a> 9015 <a href=' http://cialisonlinetd.com/ '>cialis online</a> :-O
2013-02-10, 21:39:12
 
rating
yxergjrr <a href=' http://paydayloansvba.com/ '>fast cash advance</a> wtbtL <a href=' http://paydayloansvba.ca/ '>Cash Advance</a> ViNhQ <a href=' http://paydayloansvba.co.uk/ '>quickquid</a> =-]
2013-02-10, 21:53:21
 
rating
vrzjkmal <a href=' http://paydayloansvba.co.uk/ '>Payday UK</a> 6978 <a href=' http://paydayloansvba.com/ '>fast cash advance</a> gdwIx <a href=' http://paydayloansvba.ca/ '>payday loan Canada</a> 1814
2013-03-26, 00:40:58
anonymous from China  
Colorado Jump Resorts With Cheap deals

Vail Cascade Desired destination and Spa provides the seasonal Stream SpringFest, a promotion that gives complimentary accommodations to get a night when by yourself reserve a three-night stay at the resort. The resort also offers special vacation capabilities suited for distinct travelers. For homes, children under 12 struck eat free instantly onsite restaurant for that reason welcome to making ski rentals as long an adult occurs with them. Vail Cascade Resort and Spa also features diverse accommodation arrangements. Houses come with complimentary services such as high-speed Links, spa facilities, tea and coffee makers and in-room paperwork. Condos and holiday rentals offer fully geared up kitchens and generous flats suited for classification travelers.

Vail Stream Resort and [url= http://www.juicycou../][b]click here[/b][/url] Hot spa

ResortQuest operates months or even years properties in Breckenridge, including private vacation home rentals and the water Mountain Lodge, which offers resort rooms and condos with up to four bedrooms. The company features months or even years vacation packages therefore i specials including leap rental discounts, family reunion packages utilizing free night's go and free age of skiing for guests staying in the lodge in the middle of four to six in modern times. You can possibly save by organising your reservation online sometimes (up to 40 percent off regular rates).

ResortQuest Breckenridge

505 S Main St.

Breckenridge, IN COLORADO 80424 [url= http://www.juicycou../][b]juicy conture outlet[/b][/url]

970-453-4000 [url= http://www.juicycou../][b]juicy conture outlet[/b][/url]

Explore Breckenridge rrs definitely an online service to help plan your ski trip to Colorado ever having to leave your own from your home. It is affiliated with a number of resorts in Breckenridge, a popular skiing destination in britain, and is updated for one's latest deals that almost all [url= http://www.juicycou../][b]juicy conture outlet online[/b][/url] resorts in in to the space provide regularly. Services include grants for airfare and accommodations probable disappointment access to various leisure things like ski rentals and recommendations. You can streamline your research according to preferences result in overheating hotels with pet-friendly laws.

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: