|
|
|
|
|
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 fois plus vite"
TT_MondocCommercial.CorrectionAutomatique.Remplacement["10f"] = c
TT_MondocCommercial.CorrectionAutomatique.Remplacement["20f"] = "20 fois plus vite"
d is Document
DocInsert(d, 1, "Bonjour")
TT_MondocCommercial.CorrectionAutomatique.Remplacement["bb"] = d
d2 is Document
d2 <- TT_MondocCommercial..AutoCorrect.Remplacement["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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|