Sign in Join
FPDoc Onlineexperiment

TCustomForm.SetAutoScroll procedure

Member of TCustomFormprotectedIn unit Forms

Sets the value for the AutoScroll property.

Declaration

pascal
procedure SetAutoScroll(Value: Boolean); override

Arguments

Value

New value for the property.

Description

SetAutoScroll is an overridden method in TCustomForm used to set the value for the AutoScroll property. It calls the inherited method to apply the new property value, but includes an additional test for the BorderStyle used on the form. AutoScroll cannot be set to True when BorderStyle has a value other than bsSizeable or bsSizeToolWin.

See also

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