🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #545

Equivalent to delphi's "Hint"

#545
From: J.C.Voon
Date: Thu, 18 Nov 2004 06:30
21 lines
1541 bytes
Hi all:

In Delphi I can specify a hint to be used for both a Help Hint box and
by an OnHint handler by specifying two values separated by a |
character. For example, 

Edit1.Hint := 'Name|Enter Name in the edit box';
Edit1->Hint = "Name|Enter Name in the edit box";

The "Name" part appears in the Help Hint box and the "Enter full name
in the edit box" part can be extracted using the GetLongHint function
for use in an OnHint event handler. 

How do i achieve this in C# ? I only see tooltips property, but it
don't have OnTooltips event, and it don't support multiple section in
tooltips property like delphi do.

Any idea ?

Ragards
JCVoon
Technical Details
Message-ID: <419d4037.19113671@forums.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,f670ca2672eecb07,start
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: jcvoon_99@yahoo.com (J.C.Voon)
Newsgroups: borland.public.csharpbuilder.language.csharp
Subject: Equivalent to delphi's "Hint"
Date: Thu, 18 Nov 2004 06:30:37 GMT
Message-ID: <419d4037.19113671@forums.borland.com>
X-Newsreader: Forte Agent 1.5/32.452
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 218.111.80.2
X-Trace: newsgroups.borland.com 1100759440 218.111.80.2 (17 Nov 2004 22:30:40 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail