Article View: borland.public.cppbuilder.internet.web
Article #692Re: link to url
From: Larry
Date: Mon, 04 Sep 2006 05:12
Date: Mon, 04 Sep 2006 05:12
30 lines
2315 bytes
2315 bytes
On Sat, 19 Aug 2006 14:09:14 -0700, "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: > >"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. > What if they TAB through the form, and then hit the enter button when they get to the browser link? I always uses a speedbutton. It gives that 'activated' look anyway when the mouse is over it and it has Flat set to true. I wish there was a 'hyperlink' control that had all these features (the cursor and font color) already setup. It can be a little tedious coding -- or repetive actually. Something eith a URL property.
Technical Details
Message-ID:
<9ucnf25art5kgjgs0gsv8mfhotgohtij01@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44e628d9@newsgroups.borland.com> <44e6d217@newsgroups.borland.com> <44e6d444@newsgroups.borland.com> <44e767a9@newsgroups.borland.com> <44e7722b$1@newsgroups.borland.com> <44e77df9$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: Larry <nospam@nospam.net> Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: link to url Date: Mon, 04 Sep 2006 01:12:59 -0400 Reply-To: nospam@nospam.net Message-ID: <9ucnf25art5kgjgs0gsv8mfhotgohtij01@4ax.com> References: <44e628d9@newsgroups.borland.com> <44e6d217@newsgroups.borland.com> <44e6d444@newsgroups.borland.com> <44e767a9@newsgroups.borland.com> <44e7722b$1@newsgroups.borland.com> <44e77df9$1@newsgroups.borland.com> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 71.99.9.44 X-Trace: newsgroups.borland.com 1157346688 71.99.9.44 (3 Sep 2006 22:11:28 -0700) Lines: 34 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail