Patent attributes
According to one embodiment, an electronic apparatus including a first body and a second body is provided. The second body is mechanically attachable to the first body in a first style and a second style. The electronic apparatus includes a memory and a hardware processor connected to the memory. The hardware processor is configured to detect whether the electronic apparatus is in the first or second style, and validate an operation of changing an orientation of a screen image displayed on the display and limit the validation of the operation to a certain time period during from a time of the second style being detected to a predetermined time passed.