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) | Option | Content |
|---|---|---|
| pslOptionViewColor (-100) | Display items in resource editor with status color | boolean |
| pslOptionViewCoord (-101) | Display coordinates as | 0 = Dialog Units 1 = Pixels |
| pslOptionViewSortResource (-106) | Sort Resources | 0 = Original Order 1 = Sort by ID 2 = Sort by info text |
| pslOptionViewNames (-102) | Display IDs | 0 = Display ID names if available 1 = Display ID values 2 = Display both |
| pslOptionViewState (-107) | Display State | 0 = Symbol and Text 1 = Symbol only 2 = Symbol only, in different columns |
| pslOptionViewEmpty (-103) | Display empty strings in translation list | boolean |
| 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) | Option | Content |
|---|---|---|
| pslOptionOpRecycleSource (-150) | Move deleted source strings to recycle bin | boolean |
| pslOptionOpRecycleTrans (-151) | Move deleted translation strings to recycle bin | boolean |
| pslOptionOpSourceChanged (-152) | When the source of a translated string has been changed | 0 = Set string to "untranslated" 1 = Set string to "for review" |
| pslOptionOpCommentChanged (-153) | When the source comment of a translated string has been changed | 0 = Don't change status 1 = Set string to "for review" |
Translation Dialog
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionDlgTooltips (-200) | Show tooltips | boolean |
| pslOptionDlgLongLines (-201) | Long lines | 0 = Word Wrap 1 = Scroll Horizontally 2 = Scroll Horizontally with Scrollbar |
| pslOptionDlgZoom (-202) | Font Zoom | 10 - 300 (%) |
| pslOptionDlgEnter (-203) | Behaviour of ENTER key | 0 = Select next string 1 = Inserts line feed |
| pslOptionDlgSpaces (-204) | Keep white spaces at beginning and end of strings | boolean |
| pslOptionDlgValidate (-205) | Validate strings when edited | boolean |
| pslOptionDlgDirectEdit (-206) | Allow direct editing of stirngs in the list box | boolean |
| pslOptionDlgTerminology (-207) | Emphasize terminology items | boolean |
| pslOptionDlgSpelling (-208) | Check spelling as you type | boolean |
Tags
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionTagsMode (-180) | How to edit tagged strings | 0 = No tagging, edit original text 1 = Normal tags with short caption 2 = Small tags without caption 3 = Long tags with content |
Leverage
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionLevListLanguage (-220) | Read string lists with same languages | boolean |
| pslOptionLevListPrimLanguage (-221) | Read string lists with same primary languages | boolean |
| pslOptionLevListSourceFile (-222) | Read string lists with same source file | boolean |
| pslOptionLevListSourceName (-223) | Read string lists with same source file name | boolean |
| pslOptionLevIdentStringID (-224) | Get data from strings with same string ID | boolean |
| pslOptionLevIdentParentID (-238) | Get data from strings with same string ID of the parent control | boolean |
| pslOptionLevIdentResID (-225) | Get data from strings with same resource ID | boolean |
| pslOptionLevIdentResType (-226) | Get data from strings with same resource type | boolean |
| pslOptionLevIdentSourceString (227) | Get data from strings with same source string | boolean |
| pslOptionLevIdentCategory (-228) | Get data from strings with same category | boolean |
| pslOptionLevSrcFlags (-229) | Source Lists: Flags | boolean |
| pslOptionLevSrcProp (-230) | Source Lists: Properties | boolean |
| pslOptionLevSrcComments (-231) | Source Lists: Comments | boolean |
| pslOptionLevSrcCustomProp (-239) | Source Lists: User-defined properties | boolean |
| pslOptionLevTrnText (-232) | Translation Lists: Translated text | boolean |
| pslOptionLevTrnCoord (-233) | Translation Lists: Coordinates | boolean |
| pslOptionLevTrnProp (-234) | Translation Lists: Properties | boolean |
| pslOptionLevTrnCustomProp (-235) | Translation Lists: Custom properties | boolean |
| pslOptionLevTrnState (-236) | Translation Lists: State | boolean |
| pslOptionLevTrnBin (-237) | Translation Lists: Translated binary resources | boolean |
| pslOptionLevTrnComment (-240) | Translation Lists: Translation Comment | boolean |
| pslOptionLevNoDelete (-240) | Flag: Don't overwrite exiting values when leveraging empty values | boolean |
Pre-Translation
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionPreMulti (-250) | If multiple matches are found | 0 = 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 match | boolean |
| pslOptionPreFuzzyMin (-252) | Minimum match for pslOptionPreUseFuzzy | 30 - 100 (%) |
| pslOptionPreAllowAuto (-253) | If no matches are found - allow automatic translation | boolean |
| pslOptionPreFind (-260) | Find strings | 0 = with exact match pslIgnoreCase (256) pslIgnoreAmpersand (512) pslIgnoreSpaces (1024) pslIgnorePunctuation (2048) pslIgnoreAll (3840) (add values for combination) |
| pslOptionPreRetranslate (-261) | Retranslate strings that are already translated | boolean |
| pslOptionPreValidate (-262) | Validate translated strings | boolean |
| pslOptionPreAmpersand (-263) | Insert unique ampersand if source string has an ampersand. | boolean |
| pslOptionPreKeepSpaces (-264) | Keep white-spaces at beginning and end of a string | boolean |
| pslOptionPreKeepPoint (-265) | Keep points (.) at beginning and end of a string | boolean |
| pslOptionPreKeepComma (-266) | Keep commas (,) at beginning and end of a string | boolean |
| pslOptionPreKeepColon (-267) | Keep colons (:) at beginning and end of a string | boolean |
| pslOptionPreKeepExclamation (-268) | Keep exclamation marks (!) at beginning and end of a string | boolean |
| pslOptionPreKeepQuestion (-268) | Keep question marks (?) at beginning and end of a string | boolean |
| pslOptionPreKeepMore (-270) | Additional characters to keep at beginning and end of a string | String |
Fuzzy Matching
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionFuzzyMin (-280) | Minimum match | 30 - 100 (%) |
| pslOptionFuzzyNumber (-281) | Max. number of displayed matches | 1 - 50 |
Concordances
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionConcMin (-290) | Minimum match | 30 - 100 (%) |
| pslOptionConcNumber (-291) | Max. number of displayed matches | 1 - 50 |
Replicates
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionReplMode (-350) | Mode | 0 = 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 prompt | boolean |
| pslOptionReplFind (-360) | Find strings | 0 = 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 translated | boolean |
| pslOptionReplValidate (-362) | Validate translated strings | boolean |
| pslOptionReplAmpersand (-363) | Insert unique ampersand if source string has an ampersand. | boolean |
| pslOptionReplKeepSpaces (-364) | Keep white-spaces at beginning and end of a string | boolean |
| pslOptionReplKeepPoint (-365) | Keep points (.) at beginning and end of a string | boolean |
| pslOptionReplKeepComma (-366) | Keep commas (,) at beginning and end of a string | boolean |
| pslOptionReplKeepColon (-367) | Keep colons (:) at beginning and end of a string | boolean |
| pslOptionReplKeepExclamation (-368) | Keep exclamation marks (!) at beginning and end of a string | boolean |
| pslOptionReplKeepQuestion (-369) | Keep question marks (?) at beginning and end of a string | boolean |
| pslOptionReplKeepMore (-370) | Additional characters to keep at beginning and end of a string | String |
Translation Assistant
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionAssistUse (-380) | Use translation assistant | boolean |
| pslOptionAssistJump (-381) | CTRL+Down and CTRL+Up and cursor buttons jump to | 0 = 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 string | 0 = do nothing 1 = find fuzzy translations 2 = translate automatically 3 = find fuzzy translations and use best match |
| pslOptionAssistTranslated (-383) | When selecting a translated string | 0 = do nothing 3 = find fuzzy translations and use best match |
| pslOptionAssistMinMatch (-384) | Min match | 80 - 100 (%) |
AutoLayout
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionLayoutFromSource (-900) | Start auto-layout from source coordinates | boolean |
| pslOptionLayoutLimit (-901) | Limit the extension of controls | 0 = off, 100 - 400 (%) |
| pslOptionLayoutMultiline (-902) | Set multiline flag if needed | boolean |
| pslOptionLayoutAllowSmaller (-903) | Allow reduction in control width | boolean |
| pslOptionLayoutAddIn (-904) | The identifier of the add-in used for Auto-Layout | String |
Checking
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionCheckNumtabs (-400) | Different number of tabulators | boolean |
| pslOptionCheckMnemonic1 (-401) | Missing access key in translated string | boolean |
| pslOptionCheckMnemonic2 (-402) | Translated string has access key, but source string has none | boolean |
| pslOptionCheckEmpty1 (-403) | Missing translation text | boolean |
| pslOptionCheckEmpty2 (-404) | Empty source string has non-empty translation | boolean |
| pslOptionCheckSpaces (-406) | Different number of white spaces at beginning or end of string | boolean |
| pslOptionCheckMnemonic3 (-407) | Access key out of valid range | boolean |
| pslOptionCheckTextLength (-408) | Text too long | boolean |
| pslOptionCheckSpelling (-409) | Spelling error | boolean |
| pslOptionCheckCodePage (-410) | Character not in target code page | boolean |
| pslOptionCheckTerminology (-411) | Missing term in translation | boolean |
| pslOptionCheckTabooWord (-412) | Taboo word found | boolean |
| pslOptionCheckConsistency (-413) | Inconsistant translation | boolean |
| 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 menu | boolean |
| pslOptionCheckCtrlSize (-500) | Text does not fit to control size | boolean |
| pslOptionCheckCtrlOverlap (-501) | Control overlaps other control | boolean |
| pslOptionCheckCtrlOutside (-502) | Control is not within the dialog borders | boolean |
| pslOptionCheckCtrlMnemonic (-503) | Duplicate access key | boolean |
| pslOptionCheckCheckSrc (-504) | Ignore the control size error if it appears already in the source file | boolean |
| pslOptionCheckAccInvalid (-550) | Invalide accelerator | boolean |
| pslOptionCheckAccDuplicate (-551) | Duplicate accelerator | boolean |
| pslOptionCheckPrintf (-600) | Inconsistent printf formats | boolean |
| pslOptionCheckFormatMessage (-607) | Inconsistent FormatMessage() formats | boolean |
Spell Checking
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionDlgSpelling (-208) | Check spelling as you type | boolean |
| pslOptionSpellIgnoreUppercase (-700) | Ignore words in UPPERCASE | boolean |
| pslOptionSpellIgnoreNumbers (-701) | Ignore words with numbers | boolean |
Batch
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionBatchMessageBox (-750) | Display message boxes | boolean |
| pslOptionBatchDelete (-751) | Allow deletion of more than 20 strings when updating | boolean |
Users
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionUsersRequested (-800) | User log in requested on startup | boolean |
| pslOptionUsersWindows (-801) | Get user name from Windows log in | boolean |
System
| Name (Value) | Option | Content |
|---|---|---|
| pslOptionSystemLanguage (-850) | Language | long |
| pslOptionSystemMacroPath (-851) | Macros Path | string |