Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Tooltips on DW.Net controls?

5 posts in DataWindow .NET Last posting was on 2005-05-17 16:52:45.0Z
Mike Gray Posted on 2004-12-03 04:44:59.0Z
Sender: 62c7.41afeb43.1804289383@sybase.com
From: Mike Gray
Newsgroups: sybase.public.datawindow.net
Subject: Tooltips on DW.Net controls?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <41afef4b.62fa.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 2 Dec 2004 20:44:59 -0800
X-Trace: forums-1-dub 1102049099 10.22.241.41 (2 Dec 2004 20:44:59 -0800)
X-Original-Trace: 2 Dec 2004 20:44:59 -0800, 10.22.241.41
Lines: 6
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:876
Article PK: 125301

Does anyone know if its possible to associate individual
controls on a DW.Net object with the WinForms ToolTip
control ... so that when the user mouses over a picture
object in the DW, for example, the tooltip will be
displayed? I can associate the entire DW.Net control with
it but that's next to useless.


Roy Kiesler [TeamSybase] Posted on 2004-12-04 20:03:52.0Z
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.datawindow.net
Subject: Re: Tooltips on DW.Net controls?
References: <41afef4b.62fa.1681692777@sybase.com>
In-Reply-To: <41afef4b.62fa.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: c-24-4-133-16.client.comcast.net
Message-ID: <41b21824$1@forums-2-dub>
X-Original-Trace: 4 Dec 2004 12:03:48 -0800, c-24-4-133-16.client.comcast.net
Lines: 29
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 4 Dec 2004 12:03:49 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 4 Dec 2004 12:03:52 -0800
X-Trace: forums-1-dub 1102190632 10.22.108.75 (4 Dec 2004 12:03:52 -0800)
X-Original-Trace: 4 Dec 2004 12:03:52 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:883
Article PK: 125310


Mike Gray wrote:
> Does anyone know if its possible to associate individual
> controls on a DW.Net object with the WinForms ToolTip
> control ... so that when the user mouses over a picture
> object in the DW, for example, the tooltip will be
> displayed? I can associate the entire DW.Net control with
> it but that's next to useless.

You are correct in your initial conclusion, but you need a bit of
history to understand what the DataWindow is -- a bitmap with a floating
edit control above it. The edit control is used to capture input from
the control that currently has focus. Everything else is just a pretty
picture. This is why the DataWindow is so great -- it only uses a single
Window handle, regardless of how many fields you drop on it.

That said, here's a possible solution:

1. Place the text you want to display as tooltip in each field's tag
property.
2. add a mousemove event handler to your datawindow control, and
determine the object under the mouse, then set the tooltip text of the
actual tooltip control to the value of the respective tag property for
the dw field under the mouse.

Note that I haven't tried this yet in C#, but I used in many times in
PowerBuilder and it works flawlessly.

--
Roy


Jim O'Neil [Sybase] Posted on 2004-12-05 03:00:41.0Z
From: "Jim O'Neil [Sybase]" <joneil_at_sybase_dot_com>
Newsgroups: sybase.public.datawindow.net
Subject: Re: Tooltips on DW.Net controls?
Message-ID: <0qt4r0dtug4rgtog7l1dog0snv9o7a93va@4ax.com>
References: <41afef4b.62fa.1681692777@sybase.com> <41b21824$1@forums-2-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: vpn-concord-079.sybase.com
X-Original-Trace: 4 Dec 2004 19:00:37 -0800, vpn-concord-079.sybase.com
Lines: 34
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 4 Dec 2004 19:00:38 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 4 Dec 2004 19:00:41 -0800
X-Trace: forums-1-dub 1102215641 10.22.108.75 (4 Dec 2004 19:00:41 -0800)
X-Original-Trace: 4 Dec 2004 19:00:41 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:884
Article PK: 125314

There is a tooltip example in the DW.NET examples that ship with
DataWindow .NET - check codexchange.sybase.com for the DataWindow.NET
project under the subcategory "Collateral Files"

On 4 Dec 2004 12:03:52 -0800, "Roy Kiesler [TeamSybase]"

<SPAM_FREE_roy.kiesler@teamsybase.com> wrote:

>Mike Gray wrote:
>> Does anyone know if its possible to associate individual
>> controls on a DW.Net object with the WinForms ToolTip
>> control ... so that when the user mouses over a picture
>> object in the DW, for example, the tooltip will be
>> displayed? I can associate the entire DW.Net control with
>> it but that's next to useless.
>
>You are correct in your initial conclusion, but you need a bit of
>history to understand what the DataWindow is -- a bitmap with a floating
>edit control above it. The edit control is used to capture input from
>the control that currently has focus. Everything else is just a pretty
>picture. This is why the DataWindow is so great -- it only uses a single
>Window handle, regardless of how many fields you drop on it.
>
>That said, here's a possible solution:
>
>1. Place the text you want to display as tooltip in each field's tag
>property.
>2. add a mousemove event handler to your datawindow control, and
>determine the object under the mouse, then set the tooltip text of the
>actual tooltip control to the value of the respective tag property for
>the dw field under the mouse.
>
>Note that I haven't tried this yet in C#, but I used in many times in
>PowerBuilder and it works flawlessly.


Bob Chauvin ( Paix dehors ) Posted on 2005-05-17 13:57:11.0Z
Reply-To: "Bob Chauvin \( Paix dehors \)" <nocanspambob_chauvin@yahoo.com>
From: "Bob Chauvin \( Paix dehors \)" <bob_chauvin@nospamyahoo.com>
Newsgroups: sybase.public.datawindow.net
References: <41afef4b.62fa.1681692777@sybase.com>
Subject: Re: Tooltips on DW.Net controls?
Lines: 19
Organization: PB9.01.7151
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 206.18.228.226
X-Original-NNTP-Posting-Host: 206.18.228.226
Message-ID: <4289f837$1@forums-1-dub>
Date: 17 May 2005 06:57:11 -0700
X-Trace: forums-1-dub 1116338231 206.18.228.226 (17 May 2005 06:57:11 -0700)
X-Original-Trace: 17 May 2005 06:57:11 -0700, 206.18.228.226
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:2124
Article PK: 126499

Check out this example

http://www.netomatix.com/GridToolTip.aspx

--
PB10.2

Thank you,

R.Chauvin

<Mike Gray> wrote in message news:41afef4b.62fa.1681692777@sybase.com...
> Does anyone know if its possible to associate individual
> controls on a DW.Net object with the WinForms ToolTip
> control ... so that when the user mouses over a picture
> object in the DW, for example, the tooltip will be
> displayed? I can associate the entire DW.Net control with
> it but that's next to useless.


dfish Posted on 2005-05-17 16:52:45.0Z
From: dfish@_no_spam_sybase.com (Dave Fish [Team Sybase])
Newsgroups: sybase.public.datawindow.net
Subject: Re: Tooltips on DW.Net controls?
Organization: Sybase Professional Services
Reply-To: nospam_dfish@sybase.com_nospam
Message-ID: <428a210c.415125518@forums.sybase.com>
References: <41afef4b.62fa.1681692777@sybase.com> <4289f837$1@forums-1-dub>
X-Newsreader: Forte Free Agent 1.21/32.243
X-Original-NNTP-Posting-Host: vpn-dub-028.sybase.com
X-Original-Trace: 17 May 2005 09:52:41 -0700, vpn-dub-028.sybase.com
Lines: 43
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 May 2005 09:52:43 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 May 2005 09:52:45 -0700
X-Trace: forums-1-dub 1116348765 10.22.108.75 (17 May 2005 09:52:45 -0700)
X-Original-Trace: 17 May 2005 09:52:45 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:2131
Article PK: 126507

We are planning on adding tool tips for DataWindow columns in version
2.0. I'll see if they will be supported in Web DataWindows as well.

Regards,
Dave Fish
Sybase

DataWindow .NET Webcast Series
Register today at:
http://response.sybase.com/forms/DWNETTechnicalWebcastSeries

Download an evaluation version of DataWindow .NET 1.5 Today!:
www.sybase.com/datawindow.net

DataWindow.NET code examples available on CodeXchange:
http://datawindownet.codexchange.sybase.com

Vote for DataWindow .NET!
http://sys-con.com/dotnet/readerschoice2004/

On 17 May 2005 06:57:11 -0700, "Bob Chauvin \( Paix dehors \)"

<bob_chauvin@nospamyahoo.com> wrote:

>Check out this example
>
>http://www.netomatix.com/GridToolTip.aspx
>
>--
>PB10.2
>
>Thank you,
>
>R.Chauvin
><Mike Gray> wrote in message news:41afef4b.62fa.1681692777@sybase.com...
>> Does anyone know if its possible to associate individual
>> controls on a DW.Net object with the WinForms ToolTip
>> control ... so that when the user mouses over a picture
>> object in the DW, for example, the tooltip will be
>> displayed? I can associate the entire DW.Net control with
>> it but that's next to useless.
>
>