[Gambas-user] problem sig 11 with 2.7
Benoit Minisini
gambas at ...1...
Fri Jul 4 22:50:24 CEST 2008
On jeudi 03 juillet 2008, Steven Lobbezoo wrote:
> 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
>
Can you isolate this bug in a small project?
--
Benoit Minisini
More information about the User
mailing list