Problem with RecordItemControls Removal |
Post Reply |
Author | |
coltu
Newbie Joined: 13 July 2010 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 13 July 2010 at 11:04am |
Hi,
after adding Buttons to ReportItems, calling populate, and removing the controls afterwards, i get an exception when i move the mouse over the ReportControl. adding the following procedure to the form "frmItemControls" in "Report Control Sample" and calling it reproduces the behaviour every time. Private Sub RemoveAll_Click() Dim i As Long Dim rr As ReportRecord Dim ri As ReportRecordItem For Each rr In wndReportControl.Records For i = 0 To rr.ItemCount - 1 Set ri = rr.Item(i) ri.ItemControls.RemoveAll Next i Next 'wndReportControl.Populate wndReportControl.Redraw End Sub i'm not sure if this is the right way to remove itemcontrols. if not, how should i do it the right way? |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I can confirm this is a bug. At first I thought it would be VB problem but I see it also happen with compiled exe. Not all time but at some point it happens.
I will add this to my list
Thanks
|
|
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.... |
|
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 |