A method of controlling an electronic device having a display moveable relative to a keyboard of the device, between a first position in which the keyboard is not exposed and a second position in which the keyboard is exposed for use, the method comprising: detecting, by a sensor of the device, movement of the display relative to the keyboard, to one of a plurality of positions, between the first position and the second position, in which the keyboard is partially exposed, each of the plurality of positions between the first position and the second position being associated with a respective one of a plurality of actions; determining, by the sensor, the one of the plurality of positions of the display relative to the keyboard; in response to detecting a selection event with the display in the one of the plurality of positions, identifying the respective one of the plurality of actions associated with the one of the plurality of positions; in response to detecting further movement of the display relative to the keyboard to the second position in which the keyboard is exposed for use, after movement of the display relative to the keyboard is discontinued for the threshold period of time and after identifying the respective one of the plurality of actions, performing the respective one of the plurality of actions associated with the one of the plurality of positions; characterised by: displaying a plurality of selectable items (502, 504, 506, 508, 510) on the display, each of the selectable items being associated with a respective action of the plurality of actions, wherein each of the plurality of positions between the first position and the second position being associated with a respective one of the plurality of actions comprises associating a respective selectable item with each of the plurality of positions; displaying a visual indication to identify, among the displayed plurality of selectable items, the respective one of the selectable items associated with the determined one of the plurality of positions; and detecting the selection event by detecting that movement of the display relative to the keyboard is discontinued for a threshold period of time. detecting, by a sensor of the device, movement of the display relative to the keyboard, to one of a plurality of positions, between the first position and the second position, in which the keyboard is partially exposed, each of the plurality of positions between the first position and the second position being associated with a respective one of a plurality of actions; determining, by the sensor, the one of the plurality of positions of the display relative to the keyboard; in response to detecting a selection event with the display in the one of the plurality of positions, identifying the respective one of the plurality of actions associated with the one of the plurality of positions; in response to detecting further movement of the display relative to the keyboard to the second position in which the keyboard is exposed for use, after movement of the display relative to the keyboard is discontinued for the threshold period of time and after identifying the respective one of the plurality of actions, performing the respective one of the plurality of actions associated with the one of the plurality of positions; characterised by: displaying a plurality of selectable items (502, 504, 506, 508, 510) on the display, each of the selectable items being associated with a respective action of the plurality of actions, wherein each of the plurality of positions between the first position and the second position being associated with a respective one of the plurality of actions comprises associating a respective selectable item with each of the plurality of positions; displaying a visual indication to identify, among the displayed plurality of selectable items, the respective one of the selectable items associated with the determined one of the plurality of positions; and detecting the selection event by detecting that movement of the display relative to the keyboard is discontinued for a threshold period of time. displaying a plurality of selectable items (502, 504, 506, 508, 510) on the display, each of the selectable items being associated with a respective action of the plurality of actions, wherein each of the plurality of positions between the first position and the second position being associated with a respective one of the plurality of actions comprises associating a respective selectable item with each of the plurality of positions; displaying a visual indication to identify, among the displayed plurality of selectable items, the respective one of the selectable items associated with the determined one of the plurality of positions; and detecting the selection event by detecting that movement of the display relative to the keyboard is discontinued for a threshold period of time.