Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Filtertext
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Filtertext

 Post Reply Post Reply
Author
Message
mbrogdon View Drop Down
Groupie
Groupie


Joined: 22 March 2007
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote mbrogdon Quote  Post ReplyReply Direct Link To This Post Topic: Filtertext
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
 
 
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....
Back to Top
mbrogdon View Drop Down
Groupie
Groupie


Joined: 22 March 2007
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote mbrogdon Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
JamGodz View Drop Down
Groupie
Groupie
Avatar

Joined: 25 February 2010
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamGodz Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2011 at 4:58am
Hi Aaron! Good Day!

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

Thanks..
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.