Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Clear the merged cells?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Clear the merged cells?

 Post Reply Post Reply
Author
Message
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Topic: Clear the merged cells?
    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)

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.