Print Page | Close Window

How to detect ItemClick?

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=6871
Printed Date: 09 November 2024 at 10:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to detect ItemClick?
Posted By: naikosen
Subject: How to detect ItemClick?
Date 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?



Replies:
Posted By: cybeh
Date Posted: 19 April 2007 at 8:20pm
Maybe you could use the
wndReportControl_ItemCheck function?


Posted By: cmm2006
Date 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
 


Posted By: naikosen
Date Posted: 23 April 2007 at 9:03pm
Thank you all very much



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