[Gambas-user] BUG: Signal 11 on dragmove

Johan Wistrom k4p0w3r at ...370...
Wed Feb 22 11:04:37 CET 2006


Hello,

I managed to crash my gambas app (Signal #11) on a
drag'n'drop operation. Signal is caught while the
dragmove is active (mouse with drop.data from
ActionForm is hovering above petForm that will accept
the drop).
The crash does not happen always, only about 1 time in
5 tries.

* Gambas 1.9.25
* gb.gtk

In case this is useful:
defpet-dragndrop.xpm is 128x128 xpm
chickenpic.picture is 24x24 xpm

petForm.drop is set to True

petForm.class:

PUBLIC SUB Form_DragMove()

  IF Petform.Picture <>
Picture["defpet-dragndrop.xpm"] THEN
    PetForm.Picture = Picture["defpet-dragndrop.xpm"]
  END IF
END

ActionForm.class:

PUBLIC SUB ChickenPic_MouseMove()

  IF mouse.Left THEN
    Drag.Icon = ChickenPic.picture
    ChickenPic.Drag("chicken")
  END IF
END


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com




More information about the User mailing list