Button Command Button( ) Creates a new button. Button( <Caption> ) Creates a new button with given caption. Button("Ok") creates a button in the left upper corner of the Graphics View with the caption Ok.