Print Page | Close Window

Updating item text in OnInplaceButtonDown

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2122
Printed Date: 28 September 2024 at 11:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Updating item text in OnInplaceButtonDown
Posted By: aholm
Subject: Updating item text in OnInplaceButtonDown
Date Posted: 18 April 2005 at 9:36am
Hi,

I have a report control containing 3 columns. All rows have the same record type which uses 3 record items. One of these items (derived from CXTPReportRecordItem) have an expand button (added with GetEditOptions(NULL)->AddExpandButton(); in its constructor).  When this button is clicked the item's OnInplaceButtonDown is called. The question is:

What is the appropriate way of updating the item's on screen text inside the OnInplaceButtonDown? Now it is not updated until the user clicks on another or the same row.

This seems like basic functionality, so I think I have overlooked something
simple.

    /Anders



Replies:
Posted By: Oleg
Date Posted: 19 April 2005 at 7:48am
just call m_wndReportControl.RedrawControl();

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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