A non-transitory computer-readable storage medium storing a program for a computer of an electronic apparatus including an operation section having a hardware key for receiving a first operation and a hardware key for receiving a direction designating operation for designating a direction from one or more directions,
- the program causing the computer to perform:
- a first display step of causing a display section to display a target region in which at least one of a plurality of images is displayed;
- an executing step of executing, in a first case where the target region is not displayed on the display section, a first function upon receiving the first operation;
- a first selection step of causing, in a second case where the target region is displayed on the display section, upon receiving the direction designating operation, a focus position on the target region to be moved in a direction designated by the direction designating operation and selecting an image located at the focus position among the plurality of images as a selected image;
- and
- a second selection step of causing, when the target region is displayed on the display section, upon receiving the first operation, the focus position to be moved to a position of a first image which is predetermined among the plurality of images and selecting the first image as the selected image.