Selected bar index, was: Equivalent for SelectedValue

SelectedValue gives me the Value of the selected Bar. What I want is SelectedBar or the Bar NUMBER of the selected Bar. So not an array with numbers. How was that instruction again ?

selbar = SelectedValue( BarIndex() );
1 Like

Pffffffffffffff ... Thank you Tomasz.