Comment #1 on issue 52 by zachsmit... at ...626...: problem with GTK listbox when index is out of bounds http://code.google.com/p/gambas/issues/detail?id=52 This is a workaround to using listbox1.Index = -1 listbox1.Index = 0 listbox1[0].Selected = False