Print Page | Close Window

[SOLVED] Setting focus on CXTPReportRecordItem

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=18709
Printed Date: 29 September 2024 at 1:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Setting focus on CXTPReportRecordItem
Posted By: g_j_a_i_n
Subject: [SOLVED] Setting focus on CXTPReportRecordItem
Date Posted: 22 July 2011 at 1:26am


Hello,

I want to set focus on a particular CXTPReportRecordItem in a row. How do I do this?

Basically, when a user clicks on any part of the row, I only want the focus on one particular column.

I have added a drop down box constraint to the column. So I want the drop down button to be shown so that the user knows that it is something that can be changed.

Thanks.

Please do help.

Regards,
Gautam Jain



Replies:
Posted By: ABuenger
Date Posted: 24 July 2011 at 10:00am
Hi,

try FocusSubItems(TRUE).

Andre



-------------
Codejock support


Posted By: g_j_a_i_n
Date Posted: 25 July 2011 at 3:51am

Nope. It didn't work.

SetFocusedColumn almost worked. I have a drop down at that column. I want to show the drop down button always in the report control when that row is clicked. SetFocusedColumn sets the focus but does not show the drop down button.

Can anybody help pleeaaaasseee? :)


Posted By: ABuenger
Date Posted: 25 July 2011 at 10:11pm
Hi,

set m_bShowNonActiveInPlaceButton of the paint manager to true.

Andre



-------------
Codejock support



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