cSurvey > How to

Highlight excluded shots



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.


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).


[0] Indice dei post

Vai alla versione completa