![]() |
How to detect ItemClick? |
Post Reply
|
| Author | |
naikosen
Groupie
Joined: 01 April 2007 Location: United Kingdom Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Topic: How to detect ItemClick?Posted: 15 April 2007 at 8:03pm |
|
In Visual Basic ListView, the ListView_ItemClick(item as ..... , ......., .......) works nicely to detect the ItemClick. So that the clicked item is displayed in the RichTextBox.
To make it clear, I want to get the selected item in the report control displayed in the RichTextBox control.
How to do that?
|
|
![]() |
|
cybeh
Groupie
Joined: 27 December 2005 Location: Malaysia Status: Offline Points: 76 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 April 2007 at 8:20pm |
|
Maybe you could use the
wndReportControl_ItemCheck function? |
|
![]() |
|
cmm2006
Senior Member
Joined: 26 September 2006 Status: Offline Points: 118 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2007 at 9:12pm |
|
Private Sub wndview_SelectionChanged()
If Not wndview.FocusedRow.GroupRow Then YourText = wndview.FocusedRow.Record(TextColumnIndex).Value msgbox YourText
End If end sub |
|
![]() |
|
naikosen
Groupie
Joined: 01 April 2007 Location: United Kingdom Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 April 2007 at 9:03pm |
|
Thank you all very much
|
|
![]() |
|
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 |