Topics

Forum Topics not found

Replies

tazotodua
08 Aug 2019, 13:47

How can I disable that ? I couldnt find an option.


@tazotodua

tazotodua
08 Aug 2019, 13:43

I use shorter approach:

 

.....
        [Parameter(DefaultValue = true)]
        public bool CalculateOnBarClose { get; set; }

        private int lastIndex = 0;
 
        public override void Calculate(int index)
        {
            if (CalculateOnBarClose) if (index == lastIndex) return;  lastIndex = index;
            
            // Put your logic here
        }
.....

 


@tazotodua