# SetActivePanel

int SetActivePanel (int panelHandle);

## Purpose

Makes the panel you specify the active panel. The active panel is the panel that receives keyboard events.

## Parameters

Input
Name | Type | Description
panelHandle | integer | Specifier for a particular panel that is currently in memory. You obtain this handle from LoadPanel, NewPanel, or DuplicatePanel.

## Return Value

Name | Type | Description
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred.
Code | Error Message String
xx | Success