Thanks. Actually tutorial #07 defines all these callbacks and they work fine. What I am missing is the X,Y position at the moment of the drop. Do you know how to obtain it ? It would enable my application to move boxes for designing diagrams. Cheers Gautier
> I (slowly) make my self acquainted with drag/drop via a > tic/tac/toe game. > 3x3 squares where I can drop X:es or O:s where the > square is free. (Not done yet) > > But I find it useful to set up these callbacks > > -- set source > procedure Start_Drag > procedure End_Drag > > > -- set target > procedure Enter_Drag > -- clear target > procedure Leave_Drag > > -- execute on target > procedure Drop (Object : in out Gnoga.Gui.Base.Base_Type'Class; > Drag_Text : in String ) ; > > > and see in what order they are fired, > and save info in the app-specific data structure - my_app ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Gnoga-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gnoga-list
