Re: How to get array index with hierarchical listbox when using on mouse move

2017-03-02 Thread Arnaud de Montard via 4D_Tech
> Le 27 févr. 2017 à 15:27, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> a écrit : > > Hi, > > I want to use a hierarchical listbox with arrays > When I am in the on mouse move event of the listbox, how can I determine > which element this is? > I have found a tech tip where

Re: How to get array index with hierarchical listbox when using on mouse move

2017-02-28 Thread Kirk Brooks via 4D_Tech
Piortr, You might be conflating a hierarchical list with a listbox. The way you've described the listbox (if I understand it correctly) the arrays in the listbox will be: col 1 | col 2 | col 3 parent | child | data === p1 | c1 | data1 p1 | c1 | data2 p1

How to get array index with hierarchical listbox when using on mouse move

2017-02-27 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I want to use a hierarchical listbox with arrays When I am in the on mouse move event of the listbox, how can I determine which element this is? I have found a tech tip where is explained how to get the row number. But how can I get from row number to array index? Say I have 6 elements in a