Documentation Center

PassoloApp.Option

Returns or sets a setting from the PASSOLO Options Dialog.

Syntax

Expression.Option( Name as long) as VARIANT

Expression Required. Object of type PassoloApp

Name Specifies which option to return or set. See tables

Description

These tables contain all valid option names

View
Name (Value)OptionContent
pslOptionViewColor (-100)Display items in resource editor with status colorboolean
pslOptionViewCoord (-101)Display coordinates as0 = Dialog Units 1 = Pixels
pslOptionViewSortResource (-106)Sort Resources0 = Original Order 1 = Sort by ID 2 = Sort by info text
pslOptionViewNames (-102)Display IDs0 = Display ID names if available 1 = Display ID values 2 = Display both
pslOptionViewState (-107)Display State0 = Symbol and Text 1 = Symbol only 2 = Symbol only, in different columns
pslOptionViewEmpty (-103)Display empty strings in translation listboolean
pslOptionViewSyncResTree (-108)Synchronizes the resource tree selection with the current string.boolean
pslOptionViewRestoreDisplay (-109)Restore last string list display when opening a project.boolean
String List Operations
Name (Value)OptionContent
pslOptionOpRecycleSource (-150)Move deleted source strings to recycle binboolean
pslOptionOpRecycleTrans (-151)Move deleted translation strings to recycle binboolean
pslOptionOpSourceChanged (-152)When the source of a translated string has been changed0 = Set string to "untranslated" 1 = Set string to "for review"
pslOptionOpCommentChanged (-153)When the source comment of a translated string has been changed0 = Don't change status 1 = Set string to "for review"
Translation Dialog
Name (Value)OptionContent
pslOptionDlgTooltips (-200)Show tooltipsboolean
pslOptionDlgLongLines (-201)Long lines0 = Word Wrap 1 = Scroll Horizontally 2 = Scroll Horizontally with Scrollbar
pslOptionDlgZoom (-202)Font Zoom10 - 300 (%)
pslOptionDlgEnter (-203)Behaviour of ENTER key0 = Select next string 1 = Inserts line feed
pslOptionDlgSpaces (-204)Keep white spaces at beginning and end of stringsboolean
pslOptionDlgValidate (-205)Validate strings when editedboolean
pslOptionDlgDirectEdit (-206)Allow direct editing of stirngs in the list boxboolean
pslOptionDlgTerminology (-207)Emphasize terminology itemsboolean
pslOptionDlgSpelling (-208)Check spelling as you typeboolean
Tags
Name (Value)OptionContent
pslOptionTagsMode (-180)How to edit tagged strings0 = No tagging, edit original text 1 = Normal tags with short caption 2 = Small tags without caption 3 = Long tags with content
Leverage
Name (Value)OptionContent
pslOptionLevListLanguage (-220)Read string lists with same languagesboolean
pslOptionLevListPrimLanguage (-221)Read string lists with same primary languagesboolean
pslOptionLevListSourceFile (-222)Read string lists with same source fileboolean
pslOptionLevListSourceName (-223)Read string lists with same source file nameboolean
pslOptionLevIdentStringID (-224)Get data from strings with same string IDboolean
pslOptionLevIdentParentID (-238)Get data from strings with same string ID of the parent controlboolean
pslOptionLevIdentResID (-225)Get data from strings with same resource IDboolean
pslOptionLevIdentResType (-226)Get data from strings with same resource typeboolean
pslOptionLevIdentSourceString (227)Get data from strings with same source stringboolean
pslOptionLevIdentCategory (-228)Get data from strings with same categoryboolean
pslOptionLevSrcFlags (-229)Source Lists: Flagsboolean
pslOptionLevSrcProp (-230)Source Lists: Propertiesboolean
pslOptionLevSrcComments (-231)Source Lists: Commentsboolean
pslOptionLevSrcCustomProp (-239)Source Lists: User-defined propertiesboolean
pslOptionLevTrnText (-232)Translation Lists: Translated textboolean
pslOptionLevTrnCoord (-233)Translation Lists: Coordinatesboolean
pslOptionLevTrnProp (-234)Translation Lists: Propertiesboolean
pslOptionLevTrnCustomProp (-235)Translation Lists: Custom propertiesboolean
pslOptionLevTrnState (-236)Translation Lists: Stateboolean
pslOptionLevTrnBin (-237)Translation Lists: Translated binary resourcesboolean
pslOptionLevTrnComment (-240)Translation Lists: Translation Commentboolean
pslOptionLevNoDelete (-240)Flag: Don't overwrite exiting values when leveraging empty valuesboolean
Pre-Translation
Name (Value)OptionContent
pslOptionPreMulti (-250)If multiple matches are found0 = take first match 1 = don't translate the string 2 = set a bookmark 3 = display all matches
pslOptionPreUseFuzzy (-251)If no matches are found - use best fuzzy matchboolean
pslOptionPreFuzzyMin (-252)Minimum match for pslOptionPreUseFuzzy30 - 100 (%)
pslOptionPreAllowAuto (-253)If no matches are found - allow automatic translationboolean
pslOptionPreFind (-260)Find strings0 = with exact match pslIgnoreCase (256) pslIgnoreAmpersand (512) pslIgnoreSpaces (1024) pslIgnorePunctuation (2048) pslIgnoreAll (3840) (add values for combination)
pslOptionPreRetranslate (-261)Retranslate strings that are already translatedboolean
pslOptionPreValidate (-262)Validate translated stringsboolean
pslOptionPreAmpersand (-263)Insert unique ampersand if source string has an ampersand.boolean
pslOptionPreKeepSpaces (-264)Keep white-spaces at beginning and end of a stringboolean
pslOptionPreKeepPoint (-265)Keep points (.) at beginning and end of a stringboolean
pslOptionPreKeepComma (-266)Keep commas (,) at beginning and end of a stringboolean
pslOptionPreKeepColon (-267)Keep colons (:) at beginning and end of a stringboolean
pslOptionPreKeepExclamation (-268)Keep exclamation marks (!) at beginning and end of a stringboolean
pslOptionPreKeepQuestion (-268)Keep question marks (?) at beginning and end of a stringboolean
pslOptionPreKeepMore (-270)Additional characters to keep at beginning and end of a stringString
Fuzzy Matching
Name (Value)OptionContent
pslOptionFuzzyMin (-280)Minimum match30 - 100 (%)
pslOptionFuzzyNumber (-281)Max. number of displayed matches1 - 50
Concordances
Name (Value)OptionContent
pslOptionConcMin (-290)Minimum match30 - 100 (%)
pslOptionConcNumber (-291)Max. number of displayed matches1 - 50
Replicates
Name (Value)OptionContent
pslOptionReplMode (-350)Mode0 = Don't tranlate replicates 1 = Translate replicates in current translation list 2 = Translate replicates in all translation lists of current project
pslOptionReplNoPrompt (-351)Translate replicates automatically without promptboolean
pslOptionReplFind (-360)Find strings0 = with exact match 1 = ignore case 2 = ignore ampersand 3 = ignore spaces 4 = ignore puntuation (add values for combination)
pslOptionReplRetranslate (-361)Retranslate stirngs that are already translatedboolean
pslOptionReplValidate (-362)Validate translated stringsboolean
pslOptionReplAmpersand (-363)Insert unique ampersand if source string has an ampersand.boolean
pslOptionReplKeepSpaces (-364)Keep white-spaces at beginning and end of a stringboolean
pslOptionReplKeepPoint (-365)Keep points (.) at beginning and end of a stringboolean
pslOptionReplKeepComma (-366)Keep commas (,) at beginning and end of a stringboolean
pslOptionReplKeepColon (-367)Keep colons (:) at beginning and end of a stringboolean
pslOptionReplKeepExclamation (-368)Keep exclamation marks (!) at beginning and end of a stringboolean
pslOptionReplKeepQuestion (-369)Keep question marks (?) at beginning and end of a stringboolean
pslOptionReplKeepMore (-370)Additional characters to keep at beginning and end of a stringString
Translation Assistant
Name (Value)OptionContent
pslOptionAssistUse (-380)Use translation assistantboolean
pslOptionAssistJump (-381)CTRL+Down and CTRL+Up and cursor buttons jump to0 = next / previous string 1 = next / previous untranslated string 2 = next / previous "for review" string 3 = next / previous untranslated or "for review" string
pslOptionAssistUntranslated (-382)When selecting an untranslated string0 = do nothing 1 = find fuzzy translations 2 = translate automatically 3 = find fuzzy translations and use best match
pslOptionAssistTranslated (-383)When selecting a translated string0 = do nothing 3 = find fuzzy translations and use best match
pslOptionAssistMinMatch (-384)Min match80 - 100 (%)
AutoLayout
Name (Value)OptionContent
pslOptionLayoutFromSource (-900)Start auto-layout from source coordinatesboolean
pslOptionLayoutLimit (-901)Limit the extension of controls0 = off, 100 - 400 (%)
pslOptionLayoutMultiline (-902)Set multiline flag if neededboolean
pslOptionLayoutAllowSmaller (-903)Allow reduction in control widthboolean
pslOptionLayoutAddIn (-904)The identifier of the add-in used for Auto-LayoutString
Checking
Name (Value)OptionContent
pslOptionCheckNumtabs (-400)Different number of tabulatorsboolean
pslOptionCheckMnemonic1 (-401)Missing access key in translated stringboolean
pslOptionCheckMnemonic2 (-402)Translated string has access key, but source string has noneboolean
pslOptionCheckEmpty1 (-403)Missing translation textboolean
pslOptionCheckEmpty2 (-404)Empty source string has non-empty translationboolean
pslOptionCheckSpaces (-406)Different number of white spaces at beginning or end of stringboolean
pslOptionCheckMnemonic3 (-407)Access key out of valid rangeboolean
pslOptionCheckTextLength (-408)Text too longboolean
pslOptionCheckSpelling (-409)Spelling errorboolean
pslOptionCheckCodePage (-410)Character not in target code pageboolean
pslOptionCheckTerminology (-411)Missing term in translationboolean
pslOptionCheckTabooWord (-412)Taboo word foundboolean
pslOptionCheckConsistency (-413)Inconsistant translationboolean
pslOptionCheckPrintf (-414)Inconsistent printf formats (check for all resource types)boolean
pslOptionCheckFormatMessage (-415)Inconsistent FormatMessage() formats (check for all resource types)boolean
pslOptionCheckMenuAcc (-450)Duplicate Access key in menuboolean
pslOptionCheckCtrlSize (-500)Text does not fit to control sizeboolean
pslOptionCheckCtrlOverlap (-501)Control overlaps other controlboolean
pslOptionCheckCtrlOutside (-502)Control is not within the dialog bordersboolean
pslOptionCheckCtrlMnemonic (-503)Duplicate access keyboolean
pslOptionCheckCheckSrc (-504)Ignore the control size error if it appears already in the source fileboolean
pslOptionCheckAccInvalid (-550)Invalide acceleratorboolean
pslOptionCheckAccDuplicate (-551)Duplicate acceleratorboolean
pslOptionCheckPrintf (-600)Inconsistent printf formatsboolean
pslOptionCheckFormatMessage (-607)Inconsistent FormatMessage() formatsboolean
Spell Checking
Name (Value)OptionContent
pslOptionDlgSpelling (-208)Check spelling as you typeboolean
pslOptionSpellIgnoreUppercase (-700)Ignore words in UPPERCASEboolean
pslOptionSpellIgnoreNumbers (-701)Ignore words with numbersboolean
Batch
Name (Value)OptionContent
pslOptionBatchMessageBox (-750)Display message boxesboolean
pslOptionBatchDelete (-751)Allow deletion of more than 20 strings when updatingboolean
Users
Name (Value)OptionContent
pslOptionUsersRequested (-800)User log in requested on startupboolean
pslOptionUsersWindows (-801)Get user name from Windows log inboolean
System
Name (Value)OptionContent
pslOptionSystemLanguage (-850)Languagelong
pslOptionSystemMacroPath (-851)Macros Pathstring