Completing the connections
Connect the clicked event of the Shuffle menu item to the shuffle action of the Deal Deck part. Connect the clicked event of the Flip menu item to the flip action of the Deal Deck part. When you are done, your connections should look like this:
Deal Deck part with connections
Testing the visual part
Save the part and then select Test iconto test it. Shuffle the deck. The cards should be rearranged. Try flipping the deck. Notice that the icon doesn't change but the faceValue is no longer visible. Also notice that the icon used in the visual part is still the icon that was specified in the container's settings notebook. There is no indication of the suit of the card. You will add this capability next.
Last modified date: 06/11/2018