You are here: Symbol Reference > JSDialog Namespace > Classes > TJSCustomDialog Class > TJSCustomDialog Methods > TJSCustomDialog.DoGetControlClass Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCustomDialog.DoGetControlClass Method

Method that calls the InitialiseControlClass method to get the default control class for a specific TControlType.

Pascal
function DoGetControlClass(AControlType: TControlType): TControlClass; virtual;

This method also triggers the OnGetControlClass event that allows you to specify a different control class to the default class.

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!