cSurvey Forum
cSurvey => How to => Topic aperto da: Dgrozic - Ottobre 27, 2021, 10:24:44 pm
-
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
-
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).