IonicWind Software

IWBasic => GUI Central => Topic started by: Dennisc on June 16, 2009, 12:05:45 AM

Title: Need help - willing to pay
Post by: Dennisc on June 16, 2009, 12:05:45 AM
Hi
I am trying to use drag and drop and have followed various threads on the forum as well as tried to decipher the EB example given (dragdrop_example1.eba). As an old Fortran, Cobol, and QBasic guy who just uses good old-fashioned code, I must admit that drag and drop confuses me. I am busy developing a version 2 of my training simulator and wish to make use of drag and drop to get the user to select answers etc. Here is what I need:

Imagine a window with 6 jpegs displayed at the top and 6 rectangles at the bottom. You need to select a jpeg, drag it and drop it into one of the rectangles. This is repeated until all 6 the rectangles are filled. Once all 6 rectangles are filled, you need to be able to check to see if the right jpegs have been dropped into the right rectangles. Display a message to announce the result of the check.

I am willing to make a donation of US$25 to EBasic or to whoever supplies the easiest to understand and use example with lots of comments. The example can then be distributed to all as part of the EB examples. I will be the judge of which is the easiest to understand and use or, we can ask the forum to vote.

I know it is not a lot of money but would really appreciate a response. The objective is to have some fun and help EB and all users at the same time.  :) :)

Kind Regards
Dennis
Title: Re: Need help - willing to pay
Post by: Ionic Wind Support Team on June 16, 2009, 12:55:33 AM
Dennis,
If no one takes you up on your offer I can show you how.  Basically you have to register the window as a drop target, and start the drag in the same window based on the mouse moving in the jpeg rectangle with the mouse button down.

Paul.
Title: Re: Need help - willing to pay
Post by: Allan on June 16, 2009, 03:01:13 PM
Dennis, before Drag and Drop were in EBasic I had made a small sample which may be some use.

http://www.ionicwind.com/forums/index.php/topic,2699.msg22861.html#msg22861 (http://www.ionicwind.com/forums/index.php/topic,2699.msg22861.html#msg22861)

Allan
Title: Re: Need help - willing to pay
Post by: Dennisc on June 16, 2009, 10:14:47 PM
Thanks for the help Paul and Allan - will expiriment a bit more.

Are there any other takers?

Regards
Dennis