P
Preschool Mike
I'm attempting, with very little success, to create an activity where my
students sort 3 objects/shapes by size from smallest to largest. I've only
been able to come up with the code to move the shapes into the 3 answer
boxes, but I need a way to keep score (e.g., see if they're answers are
correct). This is where I'm having all my difficulty. Here is an example of
how my quiz should work. There are three shapes of different sizes and three
answer boxes. The student clicks on the shape and then clicks on an answer
box where they want the shape to go. Here is the only code I can come up
with for placing the shapes and I'm not even sure if it's appropriate for
keeping score.
Dim MyAnswers As Shape
Sub MoveShape(theShape As Shape)
theShape.Fill.ForeColor.RGB = vbBlue
Set MyAnswers = theShape
End Sub
Sub MoveTo(theAnswerBox As Shape)
MyAnswers.Fill.ForeColor.RGB = vbYellow
MyAnswers.Top = theAnswerBox.Top + 15
MyAnswers.Left = theAnswerBox.Left + 15
End Sub
Any help or suggestions is greatly appreciated.
Thanks,
Mike
students sort 3 objects/shapes by size from smallest to largest. I've only
been able to come up with the code to move the shapes into the 3 answer
boxes, but I need a way to keep score (e.g., see if they're answers are
correct). This is where I'm having all my difficulty. Here is an example of
how my quiz should work. There are three shapes of different sizes and three
answer boxes. The student clicks on the shape and then clicks on an answer
box where they want the shape to go. Here is the only code I can come up
with for placing the shapes and I'm not even sure if it's appropriate for
keeping score.
Dim MyAnswers As Shape
Sub MoveShape(theShape As Shape)
theShape.Fill.ForeColor.RGB = vbBlue
Set MyAnswers = theShape
End Sub
Sub MoveTo(theAnswerBox As Shape)
MyAnswers.Fill.ForeColor.RGB = vbYellow
MyAnswers.Top = theAnswerBox.Top + 15
MyAnswers.Left = theAnswerBox.Left + 15
End Sub
Any help or suggestions is greatly appreciated.
Thanks,
Mike