Home / lang / with 
WITH
Syntax
WITH Object
  ...
END WITH

Between the WITH and the END WITH instruction, an expression beginning with a point is referring to Object.

You can imbricate WITH ... END WITH structures.

Examples

WITH hButton
  .Text = "Cancel"
END WITH

'is equivalent to

hButton.Text = "Cancel"

See also

Miscellaneous Control Structures