You are here: Symbol Reference > JSPasswordDialog Namespace > Classes > TJSCustomConfirmPasswordDialog Class > TJSCustomConfirmPasswordDialog Methods > TJSCustomConfirmPasswordDialog.DoGetControlHeight Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCustomConfirmPasswordDialog.DoGetControlHeight Method

Method that triggers the OnGetControlHeight event.

Pascal
function DoGetControlHeight: Integer; override;

If either the OnGetControlHeight event is not handled, or the height returned by the event is less than or equal to zero, then the default calculation for edit controls is used. 

When TJSEditType is etCustom, then the OnGetControlHeight event should be implemented or the EditProperties.Height property should be set to the desired height value for the custom control.

The Height value is automatically adjusted for DPI changes.

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!