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

Returns the number of pixels the string passed in needs to be displayed in the dialog content.

Pascal
function ContentLineWidth(const ALine: string): Integer;

Use this method to help determine the width you want the dialog to display as.

There is no need to add the result of ContentLineWidth to the result of the HorzPadding since it is included in the result.

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!