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:
Save the part and then select
to 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.