DisplayChanged Event

       

Occurs when system screen resolution changes.

Syntax

Private Sub object_DisplayChanged([index As Integer])

The DisplayChanged event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index A numeric expression that evaluates to the index of a control if it is in a control array.

Remarks

Use this event to make any adjustments you need to the interface of your application due to changes in screen resolution.