Print Page | Close Window

CheckBox in GroupRow

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=19083
Printed Date: 19 February 2025 at 7:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CheckBox in GroupRow
Posted By: jpbro
Subject: CheckBox in GroupRow
Date Posted: 18 October 2011 at 11:23am
Is there any way to put a tri-state checkbox in a Group Row?

I've tried using Markup, and the Checkbox appears, but it doesn't respond to the mouse. Is there any way to get markup controls to respond to events in the ReportControl?

TIA.



-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




Replies:
Posted By: Aaron
Date Posted: 04 November 2011 at 2:33pm
Hi Jason,
 
Maybe you have older version? I tried with V15.1.3 and I don't see a problem.
For those who want same:
 
Private Sub wndReportControl_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)
    Dim grpRow As ReportGroupRow
    If Row.GroupRow Then
        Set grpRow = Row
            grpRow.GroupCaption = _
            "<StackPanel>" & _
            "<CheckBox Margin='1' IsThreeState='True' IsChecked='' Padding='0'>3-State Check Box</CheckBox>" & _
            "</StackPanel>"
    End If
End Sub
 
 
Good luck Wink
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: jpbro
Date Posted: 14 November 2011 at 3:59pm
Thanks a lot Aaron, I think I missed the IsThreeState part.

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




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