Documentation Center

PassoloApp.OnSimulateTranslation

This event handler is called when a string needs to be pseudo-translated.

Syntax

OnSimulateTranslation (SourceString as PslSourceString, Text as String, X as Long, Y as Long, Cx as Long, Cy as Long, Handled as Long) as void

SourceString String of type PslSourceString to be pseudo-translated

Text Destination string Text. To contain the pseudo translation to Text

X The new X coordinate for the simulated translation (for dialog controls)

Y The new Y coordinate for the simulated translation (for dialog controls)

Cx The new Cx coordinate for the simulated translation (for dialog controls)

Cy The new Cy coordinate for the simulated translation (for dialog controls)

Handled Set to True, if OnAutoTranslate has handled the translation. If not set, the SDL Passolo algorithm for pseudo-translation will be used.