|
|
|
|
|
AutoCorrect (Property) In french: CorrectionAutomatique
The AutoCorrect property allows you to define a set of automatic corrections to be applied in a Word Processing control as the user types. c is docAutoReplace
c.NewString = "10 times faster"
WP_MySalesDoc.AutoCorrect.Replace["10f"] = c
WP_MySalesDoc.AutoCorrect.Replace["20f"] = "20 times faster"
d is Document
DocInsert(d, 1, "Hello")
WP_MySalesDoc.AutoCorrect.Replace["bb"] = d
d2 is Document
d2 <- WP_MySalesDoc.AutoCorrect.Replace["bb"]..NewFormattedString
Syntax
Getting an automatic replacement value Hide the details
<Result> = <Word Processing control>.AutoCorrect.Replace[<Original string>]
<Result>: docAutoReplace variable docAutoReplace variable with the value that replaces the original string. <Word Processing control>: Control name Name of the Word Processing control used. <Source string>: Character string String in the Word Processing control to be replaced as the user types.
Setting an automatic replacement value Hide the details
<Word Processing control>AutoCorrect.Replace[<Original string>] = <New value>
<Word Processing control>: Control name Name of the Word Processing control used. <Source string>: Character string String in the Word Processing control to be replaced as the user types. <New value>: String or variable of type docAutoReplace - String that will replace the original string.
- Name of the docAutoReplace variable to be used to replace the string.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|