cSurvey > How to

Highlight excluded shots

(1/1)

Dgrozic:
Hi,

does anyone know how to highlight (in design view) the shots that are excluded from calculations (in the data view)?
I understand there is an option to write your own highlight condition, but I do not know how to write this condition in VB.NET or C# since I am unfamiliar with the syntax.

Dino

cepe:
Add a shot's highlight, edit is function, press unwrap and put this code:

public function GetHighlight(Details as cShotHighlightDetails) as boolean
      return details.element.exclude andalso not details.element.splay
end function

This highlights shot's with exclude flag but not splay (of course, remove the 'andalso not details.element.splay' part to highlight also splays).

Navigazione

[0] Indice dei post

Vai alla versione completa