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.

Calendar DropDown

6 posts in DataWindow .NET Last posting was on 2004-10-03 00:17:35.0Z
Tim Courtney Posted on 2004-10-01 19:31:33.0Z
From: "Tim Courtney" <tim@crcorp.com>
Newsgroups: sybase.public.datawindow.net
Subject: Calendar DropDown
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-Original-NNTP-Posting-Host: 63.76.179.34
Message-ID: <415db091$1@forums-2-dub>
X-Original-Trace: 1 Oct 2004 12:31:29 -0700, 63.76.179.34
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 1 Oct 2004 12:31:30 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 1 Oct 2004 12:31:33 -0700
X-Trace: forums-1-dub 1096659093 10.22.108.75 (1 Oct 2004 12:31:33 -0700)
X-Original-Trace: 1 Oct 2004 12:31:33 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:471
Article PK: 124897

I want to implement a dropdown calendar when the user double clicks on a
column. I put a calendar control on a window and would like to open it just
below the column the user double clicks on to make it appear that it is a
drop down window. My problem is that I don't know how to get the location
of the column so that I can place my window below it. I tried:

Sybase.DataWindow.ObjectAtPointer
thecolumn=dw_CustomerSalesFilter.ObjectUnderMouse;
Point location=new Point(thecolumn.Gob.X, thecolumn.Gob.Y);

However, the thecolumn.Gob.X and thecolumn.GOB.Y are the position of the
column when I designed the datawindow in the designer. I doesn't matter
which row you click on, the values are always the same (in my case 725, 1)


dfish Posted on 2004-10-01 21:35:39.0Z
From: dfish@_no_spam_sybase.com (Dave Fish [Team Sybase])
Newsgroups: sybase.public.datawindow.net
Subject: Re: Calendar DropDown
Organization: Sybase Professional Services
Reply-To: nospam_dfish@sybase.com_nospam
Message-ID: <415dccab.10178035@forums.sybase.com>
References: <415db091$1@forums-2-dub>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: vpn-dub-099.sybase.com
X-Original-NNTP-Posting-Host: vpn-dub-099.sybase.com
Date: 1 Oct 2004 14:35:39 -0700
X-Trace: forums-1-dub 1096666539 10.22.120.99 (1 Oct 2004 14:35:39 -0700)
X-Original-Trace: 1 Oct 2004 14:35:39 -0700, vpn-dub-099.sybase.com
Lines: 56
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:472
Article PK: 124900

I played around with this a while back but couldn't get it perfect.
You might be able to improve on it.

Here is the code I used:

Private Sub DwcGrid_ItemFocusChanged(ByVal sender As Object, ByVal
e As Sybase.DataWindow.ItemFocusChangedEventArgs) Handles
DwcGrid.ItemFocusChanged
Dim pointer As System.Drawing.Point
Dim xcoord As Integer
Dim ycoord As Integer

MonthCalendar1.Hide()
If e.ColumnName = "datecolumn" Then
pointer = DwcGrid.MousePosition()
xcoord = pointer.X
ycoord = pointer.Y
MonthCalendar1.SetBounds((xcoord - 140), (ycoord - 20),
MonthCalendar1.Width, MonthCalendar1.Height)
MonthCalendar1.Show()

The problem is determining where in the column the user clicked. As
you've found the x and y coordinate for the column don't map to the
screen coordinate.

I do know that Sybase is working on adding a drop down calendar
control to the DataWindow but that might not be available until
version 2.0 (1.5 is the next release - WebForms support).

Regards,
Dave Fish
Sybase

TeamSybase blogs: http://www.teamsybase.net/blogs

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

On 1 Oct 2004 12:31:33 -0700, "Tim Courtney" <tim@crcorp.com> wrote:

>I want to implement a dropdown calendar when the user double clicks on a
>column. I put a calendar control on a window and would like to open it just
>below the column the user double clicks on to make it appear that it is a
>drop down window. My problem is that I don't know how to get the location
>of the column so that I can place my window below it. I tried:
>
>Sybase.DataWindow.ObjectAtPointer
>thecolumn=dw_CustomerSalesFilter.ObjectUnderMouse;
>Point location=new Point(thecolumn.Gob.X, thecolumn.Gob.Y);
>
>However, the thecolumn.Gob.X and thecolumn.GOB.Y are the position of the
>column when I designed the datawindow in the designer. I doesn't matter
>which row you click on, the values are always the same (in my case 725, 1)
>
>


Tim Courtney Posted on 2004-10-02 02:37:42.0Z
Reply-To: "Tim Courtney" <tim@crcorp.com>
From: "Tim Courtney" <tim@crcorp.com>
Newsgroups: sybase.public.datawindow.net
References: <415db091$1@forums-2-dub> <415dccab.10178035@forums.sybase.com>
Subject: Re: Calendar DropDown
Lines: 69
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: cc4-24.207.128.135.charter-stl.com
X-Original-NNTP-Posting-Host: cc4-24.207.128.135.charter-stl.com
Message-ID: <415e1476$1@forums-1-dub>
Date: 1 Oct 2004 19:37:42 -0700
X-Trace: forums-1-dub 1096684662 24.207.128.135 (1 Oct 2004 19:37:42 -0700)
X-Original-Trace: 1 Oct 2004 19:37:42 -0700, cc4-24.207.128.135.charter-stl.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:473
Article PK: 124902

I can't find the method MousePosition(). I am using the datawindow on a
windows form. Is the MousePosition for a web form?

Tim

"Dave Fish [Team Sybase]" <dfish@_no_spam_sybase.com> wrote in message
news:415dccab.10178035@forums.sybase.com...
> I played around with this a while back but couldn't get it perfect.
> You might be able to improve on it.
>
> Here is the code I used:
>
> Private Sub DwcGrid_ItemFocusChanged(ByVal sender As Object, ByVal
> e As Sybase.DataWindow.ItemFocusChangedEventArgs) Handles
> DwcGrid.ItemFocusChanged
> Dim pointer As System.Drawing.Point
> Dim xcoord As Integer
> Dim ycoord As Integer
>
> MonthCalendar1.Hide()
> If e.ColumnName = "datecolumn" Then
> pointer = DwcGrid.MousePosition()
> xcoord = pointer.X
> ycoord = pointer.Y
> MonthCalendar1.SetBounds((xcoord - 140), (ycoord - 20),
> MonthCalendar1.Width, MonthCalendar1.Height)
> MonthCalendar1.Show()
>
> The problem is determining where in the column the user clicked. As
> you've found the x and y coordinate for the column don't map to the
> screen coordinate.
>
> I do know that Sybase is working on adding a drop down calendar
> control to the DataWindow but that might not be available until
> version 2.0 (1.5 is the next release - WebForms support).
>
> Regards,
> Dave Fish
> Sybase
>
> TeamSybase blogs: http://www.teamsybase.net/blogs
>
> DataWindow.NET code examples available on CodeXchange:
> http://datawindownet.codexchange.sybase.com
>
> On 1 Oct 2004 12:31:33 -0700, "Tim Courtney" <tim@crcorp.com> wrote:
>
> >I want to implement a dropdown calendar when the user double clicks on a
> >column. I put a calendar control on a window and would like to open it
just
> >below the column the user double clicks on to make it appear that it is a
> >drop down window. My problem is that I don't know how to get the
location
> >of the column so that I can place my window below it. I tried:
> >
> >Sybase.DataWindow.ObjectAtPointer
> >thecolumn=dw_CustomerSalesFilter.ObjectUnderMouse;
> >Point location=new Point(thecolumn.Gob.X, thecolumn.Gob.Y);
> >
> >However, the thecolumn.Gob.X and thecolumn.GOB.Y are the position of the
> >column when I designed the datawindow in the designer. I doesn't matter
> >which row you click on, the values are always the same (in my case 725,
1)
> >
> >
>


dfish Posted on 2004-10-02 12:48:13.0Z
From: dfish@_no_spam_sybase.com (Dave Fish [Team Sybase])
Newsgroups: sybase.public.datawindow.net
Subject: Re: Calendar DropDown
Organization: Sybase Professional Services
Reply-To: nospam_dfish@sybase.com_nospam
Message-ID: <415ea302.65040673@forums.sybase.com>
References: <415db091$1@forums-2-dub> <415dccab.10178035@forums.sybase.com> <415e1476$1@forums-1-dub>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: vpn-dub-099.sybase.com
X-Original-NNTP-Posting-Host: vpn-dub-099.sybase.com
Date: 2 Oct 2004 05:48:13 -0700
X-Trace: forums-1-dub 1096721293 10.22.120.99 (2 Oct 2004 05:48:13 -0700)
X-Original-Trace: 2 Oct 2004 05:48:13 -0700, vpn-dub-099.sybase.com
Lines: 87
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:474
Article PK: 124901

I am working with a development build that has Web Forms support but I
don't know if this method was added to that build or if it should be
in the GA version. I can't find a reference to it in the help so
perhaps its been added. I'm checking with engineering to find out when
MousePosition was added. I'll let you know what they say.

Regards,
Dave Fish
Sybase

TeamSybase blogs: http://www.teamsybase.net/blogs

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

On 1 Oct 2004 19:37:42 -0700, "Tim Courtney" <tim@crcorp.com> wrote:

>I can't find the method MousePosition(). I am using the datawindow on a
>windows form. Is the MousePosition for a web form?
>
>Tim
>
>
>"Dave Fish [Team Sybase]" <dfish@_no_spam_sybase.com> wrote in message
>news:415dccab.10178035@forums.sybase.com...
>> I played around with this a while back but couldn't get it perfect.
>> You might be able to improve on it.
>>
>> Here is the code I used:
>>
>> Private Sub DwcGrid_ItemFocusChanged(ByVal sender As Object, ByVal
>> e As Sybase.DataWindow.ItemFocusChangedEventArgs) Handles
>> DwcGrid.ItemFocusChanged
>> Dim pointer As System.Drawing.Point
>> Dim xcoord As Integer
>> Dim ycoord As Integer
>>
>> MonthCalendar1.Hide()
>> If e.ColumnName = "datecolumn" Then
>> pointer = DwcGrid.MousePosition()
>> xcoord = pointer.X
>> ycoord = pointer.Y
>> MonthCalendar1.SetBounds((xcoord - 140), (ycoord - 20),
>> MonthCalendar1.Width, MonthCalendar1.Height)
>> MonthCalendar1.Show()
>>
>> The problem is determining where in the column the user clicked. As
>> you've found the x and y coordinate for the column don't map to the
>> screen coordinate.
>>
>> I do know that Sybase is working on adding a drop down calendar
>> control to the DataWindow but that might not be available until
>> version 2.0 (1.5 is the next release - WebForms support).
>>
>> Regards,
>> Dave Fish
>> Sybase
>>
>> TeamSybase blogs: http://www.teamsybase.net/blogs
>>
>> DataWindow.NET code examples available on CodeXchange:
>> http://datawindownet.codexchange.sybase.com
>>
>> On 1 Oct 2004 12:31:33 -0700, "Tim Courtney" <tim@crcorp.com> wrote:
>>
>> >I want to implement a dropdown calendar when the user double clicks on a
>> >column. I put a calendar control on a window and would like to open it
>just
>> >below the column the user double clicks on to make it appear that it is a
>> >drop down window. My problem is that I don't know how to get the
>location
>> >of the column so that I can place my window below it. I tried:
>> >
>> >Sybase.DataWindow.ObjectAtPointer
>> >thecolumn=dw_CustomerSalesFilter.ObjectUnderMouse;
>> >Point location=new Point(thecolumn.Gob.X, thecolumn.Gob.Y);
>> >
>> >However, the thecolumn.Gob.X and thecolumn.GOB.Y are the position of the
>> >column when I designed the datawindow in the designer. I doesn't matter
>> >which row you click on, the values are always the same (in my case 725,
>1)
>> >
>> >
>>
>
>


dfish Posted on 2004-10-02 21:37:08.0Z
From: dfish@_no_spam_sybase.com (Dave Fish [Team Sybase])
Newsgroups: sybase.public.datawindow.net
Subject: Re: Calendar DropDown
Organization: Sybase Professional Services
Reply-To: nospam_dfish@sybase.com_nospam
Message-ID: <415f1f4b.96854930@forums.sybase.com>
References: <415db091$1@forums-2-dub> <415dccab.10178035@forums.sybase.com> <415e1476$1@forums-1-dub> <415ea302.65040673@forums.sybase.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: vpn-dub-099.sybase.com
X-Original-NNTP-Posting-Host: vpn-dub-099.sybase.com
Date: 2 Oct 2004 14:37:08 -0700
X-Trace: forums-1-dub 1096753028 10.22.120.99 (2 Oct 2004 14:37:08 -0700)
X-Original-Trace: 2 Oct 2004 14:37:08 -0700, vpn-dub-099.sybase.com
Lines: 106
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:475
Article PK: 124903

I checked with engineering. MouserPosition is a property on the
System.Windows.Forms.Control class.. It evaluates to a Point object.

See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassmousepositiontopic.asp

Regards,
Dave Fish
Sybase

TeamSybase blogs: http://www.teamsybase.net/blogs

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

On 2 Oct 2004 05:48:13 -0700, dfish@_no_spam_sybase.com (Dave Fish

[Team Sybase]) wrote:

>I am working with a development build that has Web Forms support but I
>don't know if this method was added to that build or if it should be
>in the GA version. I can't find a reference to it in the help so
>perhaps its been added. I'm checking with engineering to find out when
>MousePosition was added. I'll let you know what they say.
>
>Regards,
>Dave Fish
>Sybase
>
>TeamSybase blogs: http://www.teamsybase.net/blogs
>
>DataWindow.NET code examples available on CodeXchange:
>http://datawindownet.codexchange.sybase.com
>
>On 1 Oct 2004 19:37:42 -0700, "Tim Courtney" <tim@crcorp.com> wrote:
>
>>I can't find the method MousePosition(). I am using the datawindow on a
>>windows form. Is the MousePosition for a web form?
>>
>>Tim
>>
>>
>>"Dave Fish [Team Sybase]" <dfish@_no_spam_sybase.com> wrote in message
>>news:415dccab.10178035@forums.sybase.com...
>>> I played around with this a while back but couldn't get it perfect.
>>> You might be able to improve on it.
>>>
>>> Here is the code I used:
>>>
>>> Private Sub DwcGrid_ItemFocusChanged(ByVal sender As Object, ByVal
>>> e As Sybase.DataWindow.ItemFocusChangedEventArgs) Handles
>>> DwcGrid.ItemFocusChanged
>>> Dim pointer As System.Drawing.Point
>>> Dim xcoord As Integer
>>> Dim ycoord As Integer
>>>
>>> MonthCalendar1.Hide()
>>> If e.ColumnName = "datecolumn" Then
>>> pointer = DwcGrid.MousePosition()
>>> xcoord = pointer.X
>>> ycoord = pointer.Y
>>> MonthCalendar1.SetBounds((xcoord - 140), (ycoord - 20),
>>> MonthCalendar1.Width, MonthCalendar1.Height)
>>> MonthCalendar1.Show()
>>>
>>> The problem is determining where in the column the user clicked. As
>>> you've found the x and y coordinate for the column don't map to the
>>> screen coordinate.
>>>
>>> I do know that Sybase is working on adding a drop down calendar
>>> control to the DataWindow but that might not be available until
>>> version 2.0 (1.5 is the next release - WebForms support).
>>>
>>> Regards,
>>> Dave Fish
>>> Sybase
>>>
>>> TeamSybase blogs: http://www.teamsybase.net/blogs
>>>
>>> DataWindow.NET code examples available on CodeXchange:
>>> http://datawindownet.codexchange.sybase.com
>>>
>>> On 1 Oct 2004 12:31:33 -0700, "Tim Courtney" <tim@crcorp.com> wrote:
>>>
>>> >I want to implement a dropdown calendar when the user double clicks on a
>>> >column. I put a calendar control on a window and would like to open it
>>just
>>> >below the column the user double clicks on to make it appear that it is a
>>> >drop down window. My problem is that I don't know how to get the
>>location
>>> >of the column so that I can place my window below it. I tried:
>>> >
>>> >Sybase.DataWindow.ObjectAtPointer
>>> >thecolumn=dw_CustomerSalesFilter.ObjectUnderMouse;
>>> >Point location=new Point(thecolumn.Gob.X, thecolumn.Gob.Y);
>>> >
>>> >However, the thecolumn.Gob.X and thecolumn.GOB.Y are the position of the
>>> >column when I designed the datawindow in the designer. I doesn't matter
>>> >which row you click on, the values are always the same (in my case 725,
>>1)
>>> >
>>> >
>>>
>>
>>
>


dfish Posted on 2004-10-03 00:17:35.0Z
From: dfish@_no_spam_sybase.com (Dave Fish [Team Sybase])
Newsgroups: sybase.public.datawindow.net
Subject: Re: Calendar DropDown
Organization: Sybase Professional Services
Reply-To: nospam_dfish@sybase.com_nospam
Message-ID: <415f44ca.8986662@forums.sybase.com>
References: <415db091$1@forums-2-dub> <415dccab.10178035@forums.sybase.com> <415e1476$1@forums-1-dub> <415ea302.65040673@forums.sybase.com> <415f1f4b.96854930@forums.sybase.com>
X-Newsreader: Forte Free Agent 1.21/32.243
X-Original-NNTP-Posting-Host: vpn-dub-066.sybase.com
X-Original-Trace: 2 Oct 2004 17:17:30 -0700, vpn-dub-066.sybase.com
Lines: 124
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 2 Oct 2004 17:17:32 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 2 Oct 2004 17:17:35 -0700
X-Trace: forums-1-dub 1096762655 10.22.108.75 (2 Oct 2004 17:17:35 -0700)
X-Original-Trace: 2 Oct 2004 17:17:35 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:476
Article PK: 124908

By the way, it should come up in Intellisense after you type the name
of the DataWindow Control and a .

Let me know if you still don't see it.

Regards,
Dave Fish
Sybase

TeamSybase blogs: http://www.teamsybase.net/blogs

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

On 2 Oct 2004 14:37:08 -0700, dfish@_no_spam_sybase.com (Dave Fish

[Team Sybase]) wrote:

>I checked with engineering. MouserPosition is a property on the
>System.Windows.Forms.Control class.. It evaluates to a Point object.
>
>See:
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassmousepositiontopic.asp
>
>Regards,
>Dave Fish
>Sybase
>
>TeamSybase blogs: http://www.teamsybase.net/blogs
>
>DataWindow.NET code examples available on CodeXchange:
>http://datawindownet.codexchange.sybase.com
>
>On 2 Oct 2004 05:48:13 -0700, dfish@_no_spam_sybase.com (Dave Fish
>[Team Sybase]) wrote:
>
>>I am working with a development build that has Web Forms support but I
>>don't know if this method was added to that build or if it should be
>>in the GA version. I can't find a reference to it in the help so
>>perhaps its been added. I'm checking with engineering to find out when
>>MousePosition was added. I'll let you know what they say.
>>
>>Regards,
>>Dave Fish
>>Sybase
>>
>>TeamSybase blogs: http://www.teamsybase.net/blogs
>>
>>DataWindow.NET code examples available on CodeXchange:
>>http://datawindownet.codexchange.sybase.com
>>
>>On 1 Oct 2004 19:37:42 -0700, "Tim Courtney" <tim@crcorp.com> wrote:
>>
>>>I can't find the method MousePosition(). I am using the datawindow on a
>>>windows form. Is the MousePosition for a web form?
>>>
>>>Tim
>>>
>>>
>>>"Dave Fish [Team Sybase]" <dfish@_no_spam_sybase.com> wrote in message
>>>news:415dccab.10178035@forums.sybase.com...
>>>> I played around with this a while back but couldn't get it perfect.
>>>> You might be able to improve on it.
>>>>
>>>> Here is the code I used:
>>>>
>>>> Private Sub DwcGrid_ItemFocusChanged(ByVal sender As Object, ByVal
>>>> e As Sybase.DataWindow.ItemFocusChangedEventArgs) Handles
>>>> DwcGrid.ItemFocusChanged
>>>> Dim pointer As System.Drawing.Point
>>>> Dim xcoord As Integer
>>>> Dim ycoord As Integer
>>>>
>>>> MonthCalendar1.Hide()
>>>> If e.ColumnName = "datecolumn" Then
>>>> pointer = DwcGrid.MousePosition()
>>>> xcoord = pointer.X
>>>> ycoord = pointer.Y
>>>> MonthCalendar1.SetBounds((xcoord - 140), (ycoord - 20),
>>>> MonthCalendar1.Width, MonthCalendar1.Height)
>>>> MonthCalendar1.Show()
>>>>
>>>> The problem is determining where in the column the user clicked. As
>>>> you've found the x and y coordinate for the column don't map to the
>>>> screen coordinate.
>>>>
>>>> I do know that Sybase is working on adding a drop down calendar
>>>> control to the DataWindow but that might not be available until
>>>> version 2.0 (1.5 is the next release - WebForms support).
>>>>
>>>> Regards,
>>>> Dave Fish
>>>> Sybase
>>>>
>>>> TeamSybase blogs: http://www.teamsybase.net/blogs
>>>>
>>>> DataWindow.NET code examples available on CodeXchange:
>>>> http://datawindownet.codexchange.sybase.com
>>>>
>>>> On 1 Oct 2004 12:31:33 -0700, "Tim Courtney" <tim@crcorp.com> wrote:
>>>>
>>>> >I want to implement a dropdown calendar when the user double clicks on a
>>>> >column. I put a calendar control on a window and would like to open it
>>>just
>>>> >below the column the user double clicks on to make it appear that it is a
>>>> >drop down window. My problem is that I don't know how to get the
>>>location
>>>> >of the column so that I can place my window below it. I tried:
>>>> >
>>>> >Sybase.DataWindow.ObjectAtPointer
>>>> >thecolumn=dw_CustomerSalesFilter.ObjectUnderMouse;
>>>> >Point location=new Point(thecolumn.Gob.X, thecolumn.Gob.Y);
>>>> >
>>>> >However, the thecolumn.Gob.X and thecolumn.GOB.Y are the position of the
>>>> >column when I designed the datawindow in the designer. I doesn't matter
>>>> >which row you click on, the values are always the same (in my case 725,
>>>1)
>>>> >
>>>> >
>>>>
>>>
>>>
>>
>