Page 1 of 1

Controlling features

Posted: Fri Feb 04, 2011 9:34 am
by penfold
Hi

I have another question regarding features. I need to only display features based on a compile time variable, how can this be achieved, i.e. how do you stop a feature being displayed on the feature selection dialog.

Thanks

Re: Controlling features

Posted: Fri Feb 04, 2011 10:58 am
by bokkie
I've only been able to do this using a compiler variable and then wrapping all of the feature selection/deselection statements inside compiler variable if statements, like I've illustrated in two screencaps. Does that help?
Compile variable.jpg
Compile variable.jpg (106.62 KiB) Viewed 2655 times
If statement.jpg
If statement.jpg (115.32 KiB) Viewed 2655 times