Objective Grid: Removing borders from cells

Article ID: 559
Last updated: 16 Apr, 2018
Article ID: 559
Last updated: 16 Apr, 2018
Revision: 3
Views: 1663
Posted: 09 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


How can I remove previously applied borders from cells?


Cause



Action


Call:

// Apply borders to range
SetStyleRange(range,
CGXStyle()
.SetIncludeBorders (gxBorderTop, TRUE)
.SetIncludeBorders (gxBorderLeft, TRUE),
gxExclude);

gxExclude will exclude the top and left border from the cells specified with range. (But, this does not remove any standard style settings or grid lines)

This article was:   Helpful | Not helpful
Report an issue
Article ID: 559
Last updated: 16 Apr, 2018
Revision: 3
Views: 1663
Posted: 09 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category