Hi All, does anyone know if one can clear the focus, in other words remove the dotted line wrapped around the Listbox, after an element in the list has been selected?
I was hoping their was some obscure message I could send to the ListBox, like say:
lb1<<clear focus after click();
--or--
lb1<<deselect;
But both did not remove the dotted line. The dotted line stays there until another Listbox element is selected (I'd like to remove it write after selection though).
thanks, dj
An example (e.g. how to clear the dotted line placed around the ListBox after the element has been selected):
list1 = {"apple","orange","banana"};
list2 = {"tomato","lettuce","peas"};
lb1 = listbox(list1);
lb2 = listbox(list2);
win1=new window("good stuff",
vlistbox(
textbox("fruit")
,
lb1
,
textbox("")
,
textbox("veggies")
,
lb2
)
);