Forum Discussion
AhmedGendya
3 years agoCommunity Member
How to force a numeric entry to lose focus?
Hi All,
I am having a drag and drop activity, in which I have to show either a correct or incorrect feedback layer once I drop an object on a target.
The result depends on the values on tw...
WaltHamilton
3 years agoSuper Hero
Don't permit the object to be dragged before the variable is set. There are lots of options for doing that:
Put the entry box on one slide, and the drag and drop on the next. You can show the variable on the second slide if they need to see it. The action that changes from one slide to the next will cause the loss of focus.
Show a layer when the timeline starts. Put the entry on the layer. The action of closing the layer will cause the loss of focus.
Make the drag object start in Hidden state. When Submit is clicked, change its state to Normal.
If you want the drag object to show, cover it with a shape that has a fill and the transparency set to 95 - 99%, Have the Submit button hide the shape.
Related Content
- 9 months ago
- 2 years ago
- 9 months ago
- 2 years ago