filtertext in virtualmode |
Post Reply |
Author | |
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Posted: 22 August 2009 at 6:54am |
is this possible?
|
|
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3 Language: Visual Basic 6 SP6 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
https://forum.codejock.com/uploads/DemoVersion/EditVirtualListIconStatic.rar demonstrate use of ReportControl.FilterText but app support it - not Core |
|
Russ
Groupie Joined: 21 September 2003 Location: Russian Federation Status: Offline Points: 28 |
Post Options
Thanks(0)
|
Hello,
can you please share the source code of the sample? The archive contains only executable and it fails to statrt on my end. Thank you. Edited: I am using Xtreme Toolkit Pro 12.1 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Sorry - this is 13.2 code based sample
|
|
Russ
Groupie Joined: 21 September 2003 Location: Russian Federation Status: Offline Points: 28 |
Post Options
Thanks(0)
|
Hi,
well, my bet was on this --> "demonstrate use of ReportControl.FilterText but app support it - not Core" |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
void CVirtualRecord::GetItemMetrics(XTP_REPORTRECORDITEM_DRAWARGS* pDrawArgs, XTP_REPORTRECORDITEM_METRICS* pItemMetrics) {..........................................................................
CString sFilter = pView->GetReportCtrl().GetFilterText();
CString sText = pItemMetrics->strText; if (!sFilter.IsEmpty() && sText.MakeLower().Find(sFilter.MakeLower()) > -1){ pItemMetrics->clrForeground = RGB(0,0,255); } |
|
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 |