[Gambas-user] problem sig 11 with 2.7
Steven Lobbezoo
steven at ...1652...
Thu Jul 3 13:32:27 CEST 2008
Hi,
I just installed gambas 2.7 (as per instructions on the site from the
repository on suse for suse 11 (freshly installed also).
I got a signal 11 exeption closing a modal form. It's called as this :
PUBLIC SUB photo_DblClick()
' Add/replace the image photo
DIM Mpath AS String
DIM sData AS String
IF rsD THEN
fileselector.Tag = FALSE
fileselector.ShowModal
FOR EACH MPath IN MGlobal.F_Ch
photo.Picture = CreatePic(MPath, 320, 0)
' and we write it in the database (if there's one)
IF rsD.Available THEN
sData = File.Load(MPath)
rsD!photo = sData
rsD.Update
END IF
NEXT
END IF
END
Then, in the form i do this :
PUBLIC SUB cancel_Click()
ME.close
END
The signal occors, just at/after the ME.close.
I donnot get back into the original routine.
This worked just fine before (2.0).
Steven
More information about the User
mailing list