Slider controller screen resolution

Hi , I wonder how I can change the screen resolution by moving the slider controller