Sign in Join
FPDoc Onlineexperiment

TCustomForm.GetRolesForControl function

Member of TCustomFormpublicIn unit Forms

Gets the role(s) for the control in a modal form (default or cancel button).

Declaration

pascal
function GetRolesForControl(AControl: TControl): TControlRolesForForm

Arguments

AControl

TControl instance examined and compared to the values for the form instance.

Function result

Set of TControlRoleForForm values for the specified control. The default return value is an empty set ([]).

Description

Nothing more than the line above yet.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.