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

Search as you type

 Post Reply Post Reply
Author
Message
XiMaker View Drop Down
Groupie
Groupie
Avatar

Joined: 11 December 2009
Location: United States
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote XiMaker Quote  Post ReplyReply Direct Link To This Post Topic: Search as you type
    Posted: 14 December 2010 at 5:44pm
Ok, I've got a list of emails in the Report Control similar to the Report Sample provided by CodeJock that are sorted by the FROM column that I've defined.  Now I need to know how to find text in that column and move the selection to that point...  I.E.  start typing "Mark" and it goes down the list of items in the FROM column and sets the selection to the first rown that has "Mark Smith"
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: 15 December 2010 at 2:33am

Hi,

Maybe something like this:
 
Dim foundItem As XtremeReportControl.ReportRecordItem
        Set foundItem = Me.wndReportControl.Rows.FindRecordItemByRows(0, Me.wndReportControl.Records.Count, 0, Me.wndReportControl.Columns.Count, 0, 0, <SearchText>, xtpReportTextSearchExactPhrase)
    If Not foundItem Is Nothing Then Me.wndReportControl.Navigator.MoveToRow foundItem.Record.Index
   
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
 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.157 seconds.