Print Page | Close Window

SOLVED:Get FocusedRow Child

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=17285
Printed Date: 15 November 2024 at 1:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED:Get FocusedRow Child
Posted By: JamGodz
Subject: SOLVED:Get FocusedRow Child
Date Posted: 20 September 2010 at 8:10am
Hi Everyone! Good Day!

I've already know how to get the row number of selected row. But my problem is when i add a GroupOrder the index of focusedrow will also count the groupheader... please see attached image..







Private Sub wndList_SelectionChanged()
    mdiMain.StatusBar.Pane(0).Text = "Record: " & wndList.FocusedRow.Index + 1 & " of " & wndList.Records.Count

End Sub


Please can anyone help on this.....
thanks in advance..



Replies:
Posted By: Aaron
Date Posted: 21 September 2010 at 4:10am
Hi,
 
If you need actual index of record use:
 
Private Sub wndList_SelectionChanged()
    mdiMain.StatusBar.Pane(0).Text = "Record: " & wndList.FocusedRow.Record.Index + 1 & " of " & wndList.Records.Count

End Sub
 


-------------
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: 21 September 2010 at 8:34am
thank you aaron.. you are the best... btw, how can i tag this topic as resolved?

thanks.


Posted By: Aaron
Date Posted: 21 September 2010 at 8:51am
Hi,
 
You are the man.  Just few members are doing this but now you're talking Wink
 
OK, you are able to edit post (the one at the top, the one you started with, it is your post and can edit it as much as you can)
 
 
Click Edit Post and post will be opened and just put SOLVED: in front of your description text so SOLVED: Get FocusedRow Child
 
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....



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