Yes, you are right, I want to adapt the column width.
But I need to get the DoubleClick Event on the vertical separation line of the ListBox.
Is it possible ?
And if so, how ?
Nota: resizing “automagically” the Column is feasable. (in a loop…)
Yes, you are right, I want to adapt the column width.
But I need to get the DoubleClick Event on the vertical separation line of the ListBox.
Is it possible ?
And if so, how ?
Nota: resizing “automagically” the Column is feasable. (in a loop…)
use the mousedown event, and count the time between two clics
Thank you Jean-Yves…
at the mousedown event, store the time of the clic in a property
also check if the mouse is around a column line, and stor it’s position
at the next mousedown, check if the time is less than a doubleclic
then check if the mouse is still at the same position
if yes then fire a doublecliccolumn event
I will try in the afternoon when back home.