Print Page | Close Window

GetItemRect returns wrong value with FreezeColumns

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9272
Printed Date: 20 July 2025 at 11:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GetItemRect returns wrong value with FreezeColumns
Posted By: MNovaro
Subject: GetItemRect returns wrong value with FreezeColumns
Date Posted: 10 January 2008 at 3:14am
Hello, everybody.

Here is my problem: I have a report control with some columns (10), where the first three columns are "freezed", via:

.FreezeColumnsCount = 3

In this report, I want to edit the cells myself, since I implemented my own autocompleter. To do this, I need to place a textbox over the cell, using:

.FocusedRow.GetItemRect xItem, l, t, r, b

Everything works fine, except for the first column: if I scroll right, the coordinates returned from the .GetItemRect method are incorrect, especially for the "Left" coordinate. In particular, if the window is maximized, the "Left" coordinate of the first column is negative, that is: over the screen

I'm currently using version 11.1.3.

Thanks for any help and kind regards.
Marco




Replies:
Posted By: MNovaro
Date Posted: 16 January 2008 at 10:17am
Hello... Is there anybody out there?


Posted By: MNovaro
Date Posted: 30 January 2008 at 5:01am
No reply in here?? Nobody see the same problem?

Where is the support team of CodeJock??




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net