Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - An easy one - ReportControl / Clipboard
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

An easy one - ReportControl / Clipboard

 Post Reply Post Reply
Author
Message
dlord View Drop Down
Newbie
Newbie


Joined: 25 October 2004
Location: United States
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote dlord Quote  Post ReplyReply Direct Link To This Post Topic: An easy one - ReportControl / Clipboard
    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..

 

Back to Top
dlord View Drop Down
Newbie
Newbie


Joined: 25 October 2004
Location: United States
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote dlord Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.