Updating item text in OnInplaceButtonDown |
Post Reply |
Author | |
aholm
Newbie Joined: 18 April 2005 Location: Finland Status: Offline Points: 2 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
just call m_wndReportControl.RedrawControl();
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |