Simulate Row Click |
Post Reply |
Author | |
rdeboer
Groupie Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
Posted: 16 November 2010 at 3:49pm |
Hi,
Is there a way to simulate a RowClick in the ReportControl? It should execute the MouseDown event |
|
Product: Xtreme Suite Pro (ActiveX) version 11
Platform: Windows XP SP3 (32bit) Language: Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi, I'm curious why you need to simulate row click. Can you be more specific and maybe there's another solution... |
|
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.... |
|
rdeboer
Groupie Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
|
Hi,
I'm enumerating all rows in the ReportControl, and when i click on a row certain values in the program are updated. In the VB6 Listview control, you can set the ListIndex property to select the row, but that doesn't work with the ReportControl |
|
Product: Xtreme Suite Pro (ActiveX) version 11
Platform: Windows XP SP3 (32bit) Language: Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I see, following code will do same as you would change ListIndex with Listview
Me.wndReportControl.Navigator.MoveToRow 1, False, False
and following event will be fired. It fires whenever row selection changes (mouse, arrow keys or in code)
Private Sub wndReportControl_FocusChanging(ByVal NewRow As XtremeReportControl.IReportRow, ByVal NewColumn As XtremeReportControl.IReportColumn, ByVal NewItem As XtremeReportControl.IReportRecordItem, Cancel As Boolean)
Debug.Print NewRow.Index End Sub Hope this helps
|
|
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.... |
|
rdeboer
Groupie Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
|
That helped! Thanks a lot!
|
|
Product: Xtreme Suite Pro (ActiveX) version 11
Platform: Windows XP SP3 (32bit) Language: Visual Basic 6.0 SP6 |
|
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 |