Digital Workshop
http://forum.digitalworkshop.co.uk/

Scores, Answers, Ranking -- Drag Drop and rearrange Sample
http://forum.digitalworkshop.co.uk/viewtopic.php?f=13&t=3624
Page 1 of 1

Author:  Lar_123 [ March 24th, 2009, 7:57 am ]
Post subject:  Scores, Answers, Ranking -- Drag Drop and rearrange Sample

I want to acknowledge those who have been so helpful over the many months, sharing their knowledge and in many cases going out of the way to look into specific problems and questions.

Those have been great boosts to my learning and getting along past some obstacles. And of course it is always 'eye opening' to learn and discover what things are possible in this wonderful development tool.

So in that vein I want to give back. I've wanted to build something like the attached example, and finally put my attention to it. I've noticed several other people have had Questions around 'How to Rank answers' or perhaps display Test Results in ranked order. While this does not address that directly, some may find it useful in its own right, or may pick up some code to adapt.

What it is.

The User Drags and Drops two or more Text Boxes onto the Dropzone.
Those dropped closer to the Top of page represent 'higher priority' or such, than those lower on the page.
Once finished Dropping, Click a button and the boxes will Space Evenly Vertically and also align Centers Vertically (ie, create an evenly spaced Stack).
The function then shows the Rank order for the objects dropped.

Sample pub has 5 text boxes. That can be expanded pretty easily. See comments in the ScriptObject. (OpusPro v6.4)

Cheers and thanks,
Larry

Attachments:
ShuffleStack_Rank 2.imp [45.33 KiB]
Downloaded 1403 times

Author:  Volgar [ March 24th, 2009, 11:34 am ]
Post subject: 

Thank you very much Lar_123

While there is no practical need to use this tuturial, but in the future prove useful.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/