[Gambas-user] ComboBox Error when ComboBox.Remove("1") / possible bug in gb.gtk?

Ron_1st ronstk at ...239...
Thu Nov 27 01:20:48 CET 2008


On Thursday 27 November 2008, Nicolas Koch wrote:
> PUBLIC SUB sPath($FILE AS String)
>   sPath = "~/src/test"
> 
>   ComboBox11.Clear
>   FOR EACH $DIR IN Dir(sPath, "*")
>     ComboBox1.Add($DIR)
	if left$($dir,1)<>"." then
>   NEXT
>   ComboBox1.Remove("1")
> 
> END
> 
  FOR EACH $DIR IN Dir(sPath, "*")
    if left$($DIR,1)<>"." then  ComboBox1.Add($DIR)
  NEXT


Best regards
Ron_1st





More information about the User mailing list