Article View: borland.public.cppbuilder.internet.web
Article #697Re: link to url
From: Remy Lebeau (TeamB)
Date: Mon, 04 Sep 2006 19:20
Date: Mon, 04 Sep 2006 19:20
23 lines
2103 bytes
2103 bytes
"Larry" <nospam@nospam.net> wrote in message news:9ucnf25art5kgjgs0gsv8mfhotgohtij01@4ax.com... > What if they TAB through the form, and then hit the enter button > when they get to the browser link? They won't be able to do that. Like Michel said earlier, TLabel is not a windowed control. It cannot receive focus, and thus cannot respond to tabbing. If you need that, then use a TStaticText instead of a TLabel. > I wish there was a 'hyperlink' control that had all these features > (the cursor and font color) already setup. TLabel works just fine as a hyperlink control. Set the Font Color to clBlue, and the Cursor property to crHandPoint. Use the OnClick event to launch the URL. You can also use the OnMouseOver/Leave events (BDS 2006 only) or intercept the CM_MOUSEENTER/LEAVE messages directly (pre-BDS) to implement roll-over effects, such as changing the Font Color to another color. Gambit
Technical Details
Message-ID:
<44fc7c93$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!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> <9ucnf25art5kgjgs0gsv8mfhotgohtij01@4ax.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> <44e77df9$1@newsgroups.borland.com> <9ucnf25art5kgjgs0gsv8mfhotgohtij01@4ax.com> Subject: Re: link to url Date: Mon, 4 Sep 2006 12:20:51 -0700 Lines: 25 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; Original NNTP-Posting-Host: 68.169.248.61 Message-ID: <44fc7c93$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1157397651 68.169.248.61 (4 Sep 2006 12:20:51 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail