![]() |
Add Check Box in Data Bind Mode |
Post Reply
|
| Author | |
SHAN
Groupie
Joined: 17 July 2010 Location: Dubai Status: Offline Points: 73 |
Post Options
Thanks(0)
Quote Reply
Topic: Add Check Box in Data Bind ModePosted: 01 September 2010 at 6:49am |
|
Hi,
Please help me how to add check box to a column in Recordset Data bind mode.?
I have a column in the oracle database having values 0 for false and 1 for true.
Thanks in Advance..!
|
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional Language: Visual Basic 6.0 |
|
![]() |
|
SHAN
Groupie
Joined: 17 July 2010 Location: Dubai Status: Offline Points: 73 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 September 2010 at 6:25am |
|
I tried and got an idea how to do this....! It works....!
ReportControl1.SetCustomDraw xtpCustomBeforeDrawRow
Private Sub ReportControl1_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)
If Not Row.GroupRow Then
'Column 20 I need check box
Row.record.Item(20).HasCheckbox = True If Row.record.Item(20).Value = 1 Then Row.record.Item(20).Checked = True Else Row.record.Item(20).Checked = False End If End If
End Sub |
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional Language: Visual Basic 6.0 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |