Objective Grid: Changing the outline frame for the current cell

Article ID: 417
Last updated: 27 Apr, 2018
Article ID: 417
Last updated: 27 Apr, 2018
Revision: 4
Views: 2001
Posted: 09 Jan, 2001
by Meltreger B.
Updated: 27 Apr, 2018
by Meltreger B.

Problem


How can I change the outlining frame for the current cell?


Cause



Action


You can call:

CGXProperties* pProp = GetParam()->GetProperties();
pProp->SetUserProperty(GX_IDS_OUTLINECURRENTCELL,
CGXStyle().SetValue(newsetting));

Whereas newsetting can be one of

  • pProp->sInvertNormal - default: invert frame
  • pProp->sInvertThick - invert thick frame
  • pProp->sInvertDrawBorder - draw border (always black)
  • pProp->sInvertThickBorder - draw thick border (always black)
  • pProp->sInvertNoBorder - no border - disable the frame around the current cell

There are also possibilities to change the appearance (e.g. background color) for the current cell. This is discussed in the article "Is there a virtual that I can override to change the appearance of the current cell?".

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

Others in this category