Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

HandleUtility.AddDefaultControl

static function AddDefaultControl(controlId: int): void;
static void AddDefaultControl(int controlId);
static def AddDefaultControl(controlId as int) as void

Description

Add the ID for a default control. This will be picked if nothing else is.