🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #669

Re: link to url

#669
From: Remy Lebeau (TeamB)
Date: Sat, 19 Aug 2006 21:09
19 lines
1724 bytes
"Michel Leunen" <nospam@noreply.please> wrote in message 
news:44e7722b$1@newsgroups.borland.com...

> Why? Since a TLabel is not a windowed control, it can't have focus.

Non-windowed controls can still be clicked on.  Case in point - your 
approach is using mouse events, even though TLabel does not receive focus. 
TLabel can handle mouse events, and thus can also handle clicks.  It does 
has a published OnClick event, and it works fine.  All controls have that 
event, even though they don't all publish it.

> IMO, using the OnMouseUp event is equally good, isn't it?

A click requires a mouse up, but a mouse up does not always mean a click 
occured.


Gambit 
Technical Details
Message-ID: <44e77df9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <44e628d9@newsgroups.borland.com> <44e6d217@newsgroups.borland.com> <44e6d444@newsgroups.borland.com> <44e767a9@newsgroups.borland.com> <44e7722b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,7e6e0b0f9a475a4e
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <44e628d9@newsgroups.borland.com> <44e6d217@newsgroups.borland.com> <44e6d444@newsgroups.borland.com> <44e767a9@newsgroups.borland.com> <44e7722b$1@newsgroups.borland.com>
Subject: Re: link to url
Date: Sat, 19 Aug 2006 14:09:14 -0700
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 24.50.76.112
Message-ID: <44e77df9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1156021753 24.50.76.112 (19 Aug 2006 14:09:13 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail