Should be Simple: Get text/caption |
Post Reply |
Author | |
thodgson
Groupie Joined: 11 August 2003 Status: Offline Points: 78 |
Post Options
Thanks(0)
Posted: 28 May 2009 at 9:39am |
This should be simple, but doesn't appear so, and is frustrating.
I want to get the text/caption of a specific row and column.
I need to get this specific data as part of a function that searches for specific text in the ReportControl.
I am able to go through all of the rows in the control, but cannot figure out how to get data from a specified column.
|
|
Tim H(http://www.ExclamationSoft.com)
Product: Xtreme Toolkit v13.1 Platform: Vista(x64)-SP1 Language: Visual C++ 6.0 Currently: Satisfied w/ Toolkit |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
If you mean the data of one item just try: CMyRecord* pRecord=reinterpret_cast<CMyRecord*>(m_report.GetRecords()->GetAt(i); CString strValue=reinterpret_cast<CXTPReportRecordItemText*>(pRecord->GetItem(0))->GetValue(); HTH |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
thodgson
Groupie Joined: 11 August 2003 Status: Offline Points: 78 |
Post Options
Thanks(0)
|
That helped, thanks!
|
|
Tim H(http://www.ExclamationSoft.com)
Product: Xtreme Toolkit v13.1 Platform: Vista(x64)-SP1 Language: Visual C++ 6.0 Currently: Satisfied w/ Toolkit |
|
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 |