BeforeCustom event
      
 

Description

Occurs before displaying the custom control, move it to the correct position using x, y (left, top) or resize it.

Syntax

Private Sub object_BeforeCustom(Row As Integer, Col As Integer, x As Integer, y As Integer, Width As Integer, Height As Integer)