Print Page | Close Window

Clear the merged cells?

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=22252
Printed Date: 05 May 2024 at 9:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Clear the merged cells?
Posted By: Albert1
Subject: Clear the merged cells?
Date Posted: 26 March 2014 at 7:18am
In the helpfile I find (MergeItems Method):

- To clear all the merged cells call MergeItems(Null, Null, Null, Null)

but it seems not working to me. To check I added the bold line in the Form_Load Sub (frmmerge.frm / reportsample):


    wndReportControl.FocusSubItems = False
    wndReportControl.ShowRowFocus = False
    wndReportControl.PaintManager.HighlightForeColor = vbBlack
    wndReportControl.PaintManager.HighlightBackColor = vbWhite

    ' Apply changes
    Call wndReportControl.Records.MergeItems(vbNull, vbNull, vbNull, vbNull)
    wndReportControl.Populate


Nothing. The grid still the same. Where am I wrong?


BTW: Someone knows how to remove that ugly behaviour when you go and edit mergedcells? Any idea?


 





-------------
Product: Xtreme SuitePro (ActiveX) version 13.4.1 / 16.3.0

Platform: Windows Vista (32bit) - SP 2

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