摘要 |
Provided is a portable electronic device having a plurality of cases whose shapes can be changed from a first shape to second shape or vice versa, via at least one intermediate shape. The portable electronic device includes; display unit (2); shape detection unit (3) that outputs a signal indicating one shape from among the first shape, the second shape, and the intermediate shape into which the plurality of cases has been changed; and control unit (1) that recognizes the shape of the plurality of cases based on the signal from shape detection unit (3) and that causes display unit (2) to display an image with a screen configuration corresponding to the recognized shape. When a change is made from the first or second shape to the intermediate shape, control unit (1) determines whether to enable implementation of a processing operation to cause display unit (2) to display an image with a screen configuration corresponding to the intermediate shape depending on whether time that elapsed in a state of maintaining the intermediate shape, from the time at which a change in the shape occurred, has reached a threshold value, |