VisuFbPaintAfterAllDialog.Initialize (METH) ¶ METHOD Initialize : BOOL Initializes the state of this element InOut: Scope Name Type Return Initialize BOOL Input parentVisu IVisualisation
VisuFbPaintAfterAllDialog.SetDialogInterface (METH) ¶ METHOD SetDialogInterface : BOOL Copies the members from pInterface into the members of the dialog InOut: Scope Name Type Return SetDialogInterface BOOL Input pInterface POINTER TO DWORD
VisuFbPaintAfterAllDialog.SetResult (METH) ¶ METHOD SetResult : BOOL InOut: Scope Name Type Return SetResult BOOL Input result Visu_DialogResult
VisuFbTransformationCommon.SetScaleValues (METH) ¶ METHOD SetScaleValues Method to set the values of VisuFbTransformInformation explicitly InOut: Scope Name Type Input VisutransformScaleXMul REAL VisutransformScaleYMul REAL
GVL_ErrorCodes (GVL) ¶ This GVL contains error codes of the text editor. To obtain a description of an error code call function <c>VisuFctTextEditorGetErrorText</c>. Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant NO_ERROR USINT 0 No error ACTION_ALLOCATE_MEMORY USINT 1 Actions identifying steps of method prvSaveIntoTemporaryFile ACTION_READ_FROM_SOURCE_FILE USINT 2 ACTION_WRITE_TO_TARGET_FILE USINT 3 ACTION_WRITE_BUFFER_TO_TARGET_FILE USINT 4 ACTION_SET_FILE_POSITION USINT 5 ACTION_DELETE_TEMPORARY_FILE USINT 6 ACTION_WRITE_UNICODE_HEADER USINT 7 ACTION_RENAME_ORIGINAL_FILE USINT 10 Actions identifying steps of method prvSaveFile ACTION_RENAME_TEMPORARY_FILE USINT 11 ACTION_DELETE_ORIGINAL_FILE USINT 12 ACTION_RESTORE_ORIGINAL_FILE USINT 13 ACTION_CREATE_NEW_FILE USINT 14 Actions identifying steps of method prvNewFile ACTION_OPEN_FILE USINT 15 Actions identifying steps of method VisuFbFileChecker.CheckFile ACTION_READ_FROM_FILE USINT 16 Actions identifying steps of method prvReadLines LINE_FULL USINT 100 Errors, that can occur during editing the text TOO_LONG_LINES USINT 101 TOO_LONG_LINE_AFTER_DELETE_SEL USINT 102 TOO_LONG_LINE_AFTER_DELETE_CHAR USINT 103 UNICODE_IN_ASCII_FILE USINT 104 SEARCH_TEXT_NOT_FOUND USINT 105 Errors, that can occur during searching SEARCH_TEXT_EMPTY USINT 106 LINE_WITHOUT_RANGE USINT 110 Errors, that can occur during selecting a line FILE_NOT_FOUND USINT 111 The file to read does not exist NEGATIVE_LINE_TO_SET USINT 120 Errors, that can occur when setting the caret programatically TOO_LARGE_LINE_TO_SET USINT 121 NEGATIVE_COLUMN_TO_SET USINT 122 TOO_LARGE_COLUMN_TO_SET USINT 123 NO_SELECTION_TO_COPY USINT 130 Errors, that can occur during copy/paste INVALID_CLIPBOARD_FORMAT USINT 131 PASTE_UNICODE_INTO_ASCII USINT 132 TOO_LONG_LINE_AFTER_PASTE USINT 133
GVL_ErrorTexts (GVL) ¶ This GVL contains error texts of the text editor corresponding to the error codes. The naming convention of the constants is ERRTEXT_<GVL_ErrorCodes-Constant> Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant ERRTEXT_NO_ERROR STRING(2) ‘’ No error ERRTEXT_TECHNICAL_ERROR STRING ‘Technical error occurred. See log output of runtime system’ Error text for all technical errors ERRTEXT_LINE_FULL STRING ‘The line has reached the maximum length’ Errors, that can occur during editing the text ERRTEXT_TOO_LONG_LINES STRING ‘File to read has lines longer than the specified maximum line length’ ERRTEXT_TOO_LONG_LINE_AFTER_DELETE_SEL STRING ‘Unable to delete the selection, because the resulting line would be too long’ ERRTEXT_TOO_LONG_LINE_AFTER_DELETE_CHAR STRING ‘Unable to delete the character, because the resulting line would be too long’ ERRTEXT_UNICODE_IN_ASCII_FILE STRING ‘You cannot enter an unicode character in an ascii file’ ERRTEXT_SEARCH_TEXT_NOT_FOUND STRING ‘Text to search not found’ Errors, that can occur during searching ERRTEXT_SEARCH_TEXT_EMPTY STRING ‘No text to search specified’ ERRTEXT_LINE_WITHOUT_RANGE STRING ‘Specified line does not exist in file’ Errors, that can occur during selecting a line ERRTEXT_FILE_NOT_FOUND STRING ‘The file to open does not exists’ ERRTEXT_NEGATIVE_LINE_TO_SET STRING ‘The caret cannot be set into a line before the first line’ Errors, that can occur when setting the caret programatically ERRTEXT_TOO_LARGE_LINE_TO_SET STRING ‘The caret cannot be set beyond the last line’ ERRTEXT_NEGATIVE_COLUMN_TO_SET STRING ‘The caret cannot be set into a column before the leftmost column’ ERRTEXT_TOO_LARGE_COLUMN_TO_SET STRING ‘The caret cannot be set beyond the last possible column’ ERRTEXT_NO_SELECTION_TO_COPY STRING ‘Cannot copy text into clipboard, because no text is selected’ Errors, that can occur during copy/paste ERRTEXT_INVALID_CLIPBOARD_FORMAT STRING ‘Current clipboard content cannot be pasted into the texteditor’ ERRTEXT_PASTE_UNICODE_INTO_ASCII STRING ‘Cammot paste unicode text into ascii text’ ERRTEXT_TOO_LONG_LINE_AFTER_PASTE STRING ‘Cannot paste into the texteditor, because would result in too long line(s)’
TL_ElementProperties (Text List) ¶
VisuFbElemTextEditor (FB) ¶ FUNCTION_BLOCK VisuFbElemTextEditor EXTENDS VisuFbRectangularElement2 IMPLEMENTS IVisualElement, ISelectable, IClientManagerListener, IVisualElementProvidesSubElements, IFileTraverseConsumer, ILayeredVisualElement, IRequiresInitMeasureString InOut: Scope Name Type Initial Comment Input m_Font VisuStructTextEditorFont m_ControlVariables VisuStructTextEditorControlVariables m_iMaxLineLength INT 200 m_EditorEditMode VisuEnumTextEditorEditMode VisuEnumTextEditorEditMode.READWRITE m_NewFilesConfiguration VisuStructTextEditorNewFilesConfiguration m_iScrollbarSize INT 20 the width of the vertical scrollbar resp. the height of the horizontal scrollbar. Not configurable at the moment Methods: Checksum ClientCreated ClientDestroyed ElementInfo GetCompleteSurroundingRect GetSubElements GetUpdateRects HandleInput HandleOpenFailed Initialize IsSelectable PaintSelection SelectElement SetClientData SetErrorCode SetLayerManager Update prvAfterHandleInput prvAfterUpdate prvCheckResultingLineLengthsBeforePaste prvGetTextContainingArea prvIsMouseWithinTextContainingArea prvModifySelectionCurrentWord prvModifySelectionWithMouse prvModifySelectionWithMouse1 prvPasteIntoText prvRetrieveScrollbarValues prvSelectElementAndCaptureInputs Structure: IClientManagerListener ClientCreated (Method) ClientDestroyed (Method) IFileTraverseConsumer HandleOpenFailed (Method) SetErrorCode (Method) ILayeredVisualElement SetLayerManager (Method) ISelectable IsSelectable (Method) PaintSelection (Method) SelectElement (Method) IVisualElement Checksum (Method) ElementInfo (Method) GetUpdateRects (Method) HandleInput (Method) Initialize (Method) SetClientData (Method) Update (Method) IVisualElement3 GetCompleteSurroundingRect (Method) IVisualElementProvidesSubElements GetSubElements (Method) Private GetUpdateRects prvAfterHandleInput (Method) prvAfterUpdate (Method) HandleInput prvCheckResultingLineLengthsBeforePaste (Method) prvGetTextContainingArea (Method) prvIsMouseWithinTextContainingArea (Method) prvModifySelectionCurrentWord (Method) prvModifySelectionWithMouse (Method) prvModifySelectionWithMouse1 (Method) prvPasteIntoText (Method) Update prvRetrieveScrollbarValues (Method) prvSelectElementAndCaptureInputs (Method)
IClientManagerListener ¶ ClientCreated (Method) ClientDestroyed (Method)
VisuFbElemTextEditor.ClientCreated (METH) ¶ METHOD ClientCreated Notification, that a client has been created InOut: Scope Name Type Comment Input pClientData POINTER TO VisuStructClientData A pointer to a VisuStructClientData structure identifying the client, that has been created