Function TWPCustomRtfEdit.DeleteLeadingSpace(EmptyFieldsToo:Boolean; InFirstPar:Boolean) : Boolean
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
Parameters
EmptyFieldsToo:Boolean InFirstPar:Boolean
Returns
The type of the result value is Boolean.
Description
Delete Spaces and empty paragraphs at the beginning of the text.
If the parameter EmptyFieldsToo is true empty field will be also deleted.
If the value of the optional parameter 'InFirstPar' is true (default)
the spaces at the beginning of the first
not empty paragraph will be deleted, too.
Also see .