Print Page | Close Window

An easy one - ReportControl / Clipboard

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1612
Printed Date: 06 May 2024 at 9:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: An easy one - ReportControl / Clipboard
Posted By: dlord
Subject: An easy one - ReportControl / Clipboard
Date Posted: 02 January 2005 at 9:17pm

I spent an hour or so looking for a way to do a clipboard Copy of a selected row in the ReportControl. So, I figured this might be easier for someone else.

I've got the right-click and row selected working......

But, I wasn't able to find something like....

                     Clipboard.SetText = wndReportControl.FocusedRow.Record.Text

I'm looking for a method that contains the 'entire' value of the displayed row that I can pass to another control, such as the clipboard.

Any thoughts..

 




Replies:
Posted By: dlord
Date Posted: 05 January 2005 at 8:02pm

Issue #: 3389

Subject: Suite ActiveX - ReportControl / Clipboard

Status: Open Feature Request

Issue Type: Xtreme Suite Professional Active-X

Priority: Low

Submitted By: dlordon 04 Jan 2005

Assigned To: Stowell, Kirk on 04 Jan 2005



Posted By: Oleg
Date Posted: 10 February 2005 at 1:11am

Private Sub wndReportControl_RowRClick(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem)
    Debug.Print "Context Menu. Row = " & Row.Index
    On Error Resume Next

    If (Not Row.GroupRow) Then
        Dim RecordItem As ReportRecordItem
        Dim ClipboardText
        ClipboardText = ""
       
        For Each RecordItem In Row.Record
             ClipboardText = ClipboardText + ";" + RecordItem.Value
        Next
       
        Clipboard.SetText ClipboardText
       
       
    End If
End Sub



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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