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

Method that calls the InitialiseControl method to initialise the default control instance for a specific TControlType.

Pascal
procedure DoInitControl(AControlType: TControlType; AControl: TControl; AControlItem: TCollectionItem); virtual;

This method also triggers the OnInitControl event that allows you to initialise 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!