Print Page | Close Window

[SOLVED] No Contextmenu for selected Rows possible

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=18674
Printed Date: 05 October 2024 at 2:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] No Contextmenu for selected Rows possible
Posted By: Jebo
Subject: [SOLVED] No Contextmenu for selected Rows possible
Date 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]



Replies:
Posted By: ABuenger
Date Posted: 19 July 2011 at 6:35pm
13.4.2 behavior has been added for the release.



uploads/1755/ReportSample_18674.zip - uploads/1755/ReportSample_18674.zip




-------------
Codejock support



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