Page 1 of 1

ConditionalDisplay

Posted: August 8th, 2005, 7:01 pm
by AlexV
ConditionalDisplay

This is a simple plugin with only one function. What it does is look at the first parameter, and if it is not empty, or 0, returns the contents of the second parameter. Otherwise, if the first parameter *is* empty or 0, returns nothing.

If there is a way to do this without requiring a plugin, I didn't spot it. I could bodge something with actions, but I didn't want to change the screen for various reasons.

Anyway, provided here for anyone to use if they feel like it, source is in the zip file along with the dll.

Written in Visual C# Express 2005, so you will need the .net 2 runtimes installed.