Print Page | Close Window

Filtertext

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=15210
Printed Date: 29 April 2024 at 1:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Filtertext
Posted By: mbrogdon
Subject: Filtertext
Date Posted: 19 September 2009 at 12:07pm
Is is possible for the report control to highlight the filtertext in all filtered rows? For example, I set oReportControl.Filtertext = "Float", the word "Float" should be highlighted in each of the remaining rows.
 
 
VB6
ActiveX Suite 13.1.0
 
mtb


-------------
Xtreme SuitePro ActiveX 13.2.0 - Windows XP SP3 - VB6/Ingres Openroad 2006



Replies:
Posted By: Aaron
Date Posted: 20 September 2009 at 5:55am
Hi Matt,
 
It is possible with Markup...
 
I used TextBox instead of RC filtertext in my testproject (VB) so you can still see all records with highlighted text (typed into TextBox) you could easely change it into .FilterText and show only the records filtered by RC.
 
 
I noticed a few problems while creating this test:
  1. Markup in BeforeDrawRow event doesn't seem to work as I would expect... It works but I have to wndReportControlData.Redraw TWICE ??? otherwise Markup is broken (this with V13.0 and V13.1) 
  2. (This one is for Mark) Since I uploaded and registered V13.2 Beta,  wndReportData.PaintManager.ForceDynamicMarkupForCell = True isn't a valid property anymore (even after unregistering the OCX) I don't know what is going on anymore but it's a mess, really!!! False alarm: Updated in my next reply.
 
btw I also did test with V12.1 which supports markup in Metrics.Text and works like a charme  I don't know if you have V12.1 so you could see difference? Well see for yourself
 
https://forum.codejock.com/uploads/20090920_054746_Project1.zip - uploads/20090920_054746_Project1.zip
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: mbrogdon
Date Posted: 20 September 2009 at 8:25am
Hey Aaron,
 
Thanks for the tip. I have 13.2.0 from 21 August and it only needs one redraw and the ForceDyn..  property exists.
 
Matt


-------------
Xtreme SuitePro ActiveX 13.2.0 - Windows XP SP3 - VB6/Ingres Openroad 2006


Posted By: Aaron
Date Posted: 20 September 2009 at 9:11am
Originally posted by mbrogdon mbrogdon wrote:

Hey Aaron,
 
Thanks for the tip. I have 13.2.0 from 21 August and it only needs one redraw and the ForceDyn..  property exists.
 
Matt
 
Hi Matt,
 
OK, thanks for checking this and yes, you are right about .PaintManager.ForceDynamicMarkupForCell property. I thought Mark implemented this in V13.1 but I was wrong. I uploaded a test version where this property already exists and I didn't use V13.2 Beta (yet), so that's why I wrote #2.
 
Thanks
  


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: JamGodz
Date Posted: 22 November 2011 at 4:58am
Hi Aaron! Good Day!

How to display only the filtered text in the RC?Ermm

Thanks..



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