You are here: Symbol Reference > JSEditDialog Namespace > Classes > TJSCustomEditDialog Class > TJSCustomEditDialog Methods > TJSCustomEditDialog.DoSetDefaultValue Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCustomEditDialog.DoSetDefaultValue Method

Method that sets the default value of the edit control.

Pascal
procedure DoSetDefaultValue; virtual;

If the edit control has a published Text property, then this method sets that value to be the EditProperties.DefaultValue property. 

This method also triggers the OnSetDefaultValue event which can be used to handle etCustom edit types. 

Specific support for etMemo is also implemented.

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!