02-05-2014 05:24 AM
Hi All,
I have a Numeric Control(Double) which currently represents seconds. It specifies the delay between two transactions on a bus.
It's format string is as follows:
#
However I want to extend it's capability, so that negative values will represent Clock Cycles. (I need to overlap the transactions on the bus now.)
So I am wondering if there is any way of having a conditional format string, that will use the current format string for values >=0, and will display as "%d cycles" for values <0?
I know I could do this with an XControl, but this would be a nicer solution.
Thanks!
02-05-2014 05:52 AM - edited 02-05-2014 05:56 AM
02-05-2014 05:54 AM
Thanks Gerd, I am aware of that. However this control is defined in a type Def which passes down through many levels and I would like this to apply to all levels, not just the top level. Hence why I would like to embed it in the control itself.
02-05-2014 05:57 AM - edited 02-05-2014 05:58 AM