You are here: Symbol Reference > JSDialogCheck Namespace > Classes > TJSDialogCheck Class > TJSDialogCheck Methods > TJSDialogCheck.InitialiseControlClass Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSDialogCheck.InitialiseControlClass Method

Method returns the default control class type for a specific TControlType.

Pascal
procedure InitialiseControlClass(AControlType: TControlType; var AControlClass: TControlClass); override;

To use a different control class to represent a specific TControlType on a dialog, descendant controls should override this method in order to return the new control class to use.

It is recommended if you override the InitialiseControlClass method that you also override the InitaliseControl method.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!