Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - [SOLVED] No Contextmenu for selected Rows possible
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] No Contextmenu for selected Rows possible

 Post Reply Post Reply
Author
Message
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] No Contextmenu for selected Rows possible
    Posted: 15 July 2011 at 12:07pm
It's not possible to select Rows and click the right Mouse Button for a Context menu Ouch

Please try the folowing Code with v13.4.2 and with v15.0.2 (or 15.1.0 Beta), select two or more Rows and click right Mouse Button!

You will see, in v13.4.2 it will work. In v15.x NOT!


Option Explicit
Private Sub Form_Load()
With ReportControl1
    With .Columns
        .Add 0, "AAA", 100, False
        .Add 1, "BBB", 50, False
        .Add 2, "CCC", 80, False
    End With
   
    Dim Record As ReportRecord, i As Long
    For i = 1 To 50
        Set Record = .Records.Add()
        Record.AddItem CStr(i)
        Record.AddItem CStr(i)
        Record.AddItem CStr(i)
    Next
    .Populate
End With
End Sub

Private Sub ReportControl1_RowRClick(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem)
    MsgBox "Seleted Rows: " & ReportControl1.SelectedRows.Count
End Sub

[Sig removed by Admin: Signature can't exceed 40GB]
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 19 July 2011 at 6:35pm
13.4.2 behavior has been added for the release.



uploads/1755/ReportSample_18674.zip


Codejock support
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.125 seconds.