VisuStructTableColumnSimpleDynamicCellsData (STRUCT) ¶ TYPE VisuStructTableColumnSimpleDynamicCellsData EXTENDS VisuStructTableColumnSimpleDynamicCellsDataBase : STRUCT Structure containing the data of dynamically created cells InOut: Name Type Comment Inherited from m_bValid BOOL Value signifying whether the data is valid VisuStructTableColumnSimpleDynamicCellsDataBase m_paCells POINTER TO ARRAY [0..1] OF VisuFbElemSimple Pointer to the cells. Must not be NULL when the data is valid. VisuStructTableColumnSimpleDynamicCellsDataBase m_nCells INT Number of cells in the array m_paCells points to. VisuStructTableColumnSimpleDynamicCellsDataBase m_paAnalyzeTextVarsFbs POINTER TO ARRAY [0..1] OF VisuFbAnalyzeTextVars Pointer to the AnalyzeTextVars FBs. Must not be NULL when the data is valid. VisuStructTableColumnSimpleDynamicCellsDataBase m_paTextChanges POINTER TO ARRAY [0..1] OF VisuFbAnalyzeTextVars Pointer to the AnalyzeTextVars FBs. Must not be NULL when the data is valid. VisuStructTableColumnSimpleDynamicCellsDataBase m_pPropertyInfos POINTER TO VisuElemBase.PropertyInfo Pointer to [m_nCells] propertyinfo instances. Relevant only when property handling is activ e CHECKED_OMIT, no mt scrolling in int. visu VisuStructTableColumnSimpleDynamicCellsDataBase m_paStaticTextProperties POINTER TO ARRAY [0..1] OF VisuStructTextProperties Pointer to the StaticTextProperties Structs. May be NULL. m_paAbsoluteAnimation POINTER TO ARRAY [0..1] OF VisuFbMoveAbsolute Pointer to the AbsoluteAnimation FBs. May be NULL. m_paRelativeAnimation POINTER TO ARRAY [0..1] OF VisuFbMoveRelative Pointer to the RelativeAnimation FBs. May be NULL. m_paDynamicText POINTER TO ARRAY [0..1] OF VisuStructDynamicTexts Pointer to the DynamicText structs. May be NULL. m_paTextPropChanges POINTER TO ARRAY [0..1] OF VisuFbAnalyzeTextPropertyVars Pointer to the TextPropChanges FBs. May be NULL. m_paColorVariables POINTER TO ARRAY [0..1] OF VisuFbAnalyzeColorVars Pointer to the ColorVariables FBs. May be NULL. m_paLookVariables POINTER TO ARRAY [0..1] OF VisuFbAnalyzeLookVars Pointer to the LookVariables FBs. May be NULL. m_paStateVariables POINTER TO ARRAY [0..1] OF VisuFbAnalyzeStateVars Pointer to the StateVariables FBs. May be NULL.
VisuStructTableColumnSimpleDynamicCellsDataBase (STRUCT) ¶ TYPE VisuStructTableColumnSimpleDynamicCellsDataBase : STRUCT Structure containing the data of dynamically created cells InOut: Name Type Comment m_bValid BOOL Value signifying whether the data is valid m_paCells POINTER TO ARRAY [0..1] OF VisuFbElemSimple Pointer to the cells. Must not be NULL when the data is valid. m_nCells INT Number of cells in the array m_paCells points to. m_paAnalyzeTextVarsFbs POINTER TO ARRAY [0..1] OF VisuFbAnalyzeTextVars Pointer to the AnalyzeTextVars FBs. Must not be NULL when the data is valid. m_paTextChanges POINTER TO ARRAY [0..1] OF VisuFbAnalyzeTextVars Pointer to the AnalyzeTextVars FBs. Must not be NULL when the data is valid. m_pPropertyInfos POINTER TO VisuElemBase.PropertyInfo Pointer to [m_nCells] propertyinfo instances. Relevant only when property handling is activ e CHECKED_OMIT, no mt scrolling in int. visu
VisuStructTableColumnTextfieldDynamicCellsData (STRUCT) ¶ TYPE VisuStructTableColumnTextfieldDynamicCellsData : STRUCT InOut: Name Type m_bValid BOOL m_paCells POINTER TO ARRAY [0..1] OF VisuFbElemButton m_paLabels POINTER TO ARRAY [0..1] OF STRING(10) m_paLabelsW POINTER TO ARRAY [0..1] OF WSTRING(10) m_nCells INT
VisuStructTemporaryRenderLocationInfo (STRUCT) ¶ TYPE VisuStructTemporaryRenderLocationInfo : STRUCT Structure containing information about a temporary render location InOut: Name Type Initial Comment index INT -1 Unique identifier for the render location size CmpVisuHandler.VisuStructPoint Size in pixel offset CmpVisuHandler.VisuStructPoint The point in the temporary render location that corresponds to the top left corner of the touch rectangle. lockHorizontal BOOL Variable to lock the horizontal scrolling. If TRUE the render location cannot be scrolled in horizontal direction. lockVertical BOOL Variable to lock the vertical scrolling. If TRUE the render location cannot be scrolled in vertical direction.
VisuStructWinControlClientData (STRUCT) ¶ TYPE VisuStructWinControlClientData : STRUCT InOut: Name Type checksum VisuTypeCheckSum
VisuStructWinControlElementClientData (STRUCT) ¶ TYPE VisuStructWinControlElementClientData EXTENDS VisuStructWinControlClientData : STRUCT InOut: Name Type Comment Inherited from checksum VisuTypeCheckSum VisuStructWinControlClientData initialized BOOL Flag to indicate whether the client data has been initialized checksumxScaleUpdate VisuTypeChecksum The scale checksum checksumxScalePaint VisuTypeChecksum The scale checksum labelSize VisuStructStaticSize The size of the label iTextSizeIndex INT The index used for measure string m_bInit BOOL m_iNearScaleNear INT The left/top scales leftmost/topmost coordinate m_iNearScaleFar INT The left/top scales rightmost/bottommost coordinate m_iFarScaleNear INT The right/bottom scales leftmost/topmost coordinate m_iFarScaleFar INT The right/bottom scales rightmost/bottommost coordinate m_rDeltaPixel REAL The difference (in pixels) between two subsequent scale lines m_iBarLeftX INT the rectanglepoints, that describes the backgound of the bar, on which the knob can be dragged. Depending on the usage of a scale, there is more or less space at the edges to the total element size. m_iBarRightX INT m_iBarTopY INT m_iBarBottomY INT m_ColoredBarArea VisuStructPaintRectangle only used in flat style and white style m_iKnobWidthHalf INT half of the width of the knob m_KnobPaintRectangle VisuStructPaintRectangle The rectangle, that describes the knob, size used for painting: m_KnobTouchRectangle VisuStructPaintRectangle The rectangle, that describes the knob, size used for touch / moving:
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 23.05.2024, 09:55:22 companyName string 3S-Smart Software Solutions GmbH libraryFile VisuElemsWinControls.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile VisuElemsWinControls.clean.json version version 2.0.0.0 ProjectInformation PreserveCompiledLibComments bool True Released True VisuElements True LastModificationDateTime date 23.05.2024, 09:55:18 LibraryCategories library-category-list Intern|Visu AdditionalLibsToLoadAsUsed string CmpBitmapPool;CmpLog;Standard AllowVisuLibraryRedirection AllowVisuLibraryRedirection Author CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 Description See: Description Placeholder System_VisuElemsWinControls Project VisuElemsWinControls ServerBuildException ok Title VisuElemsWinControls UseDefaultToggleTapVariable Version version 4.6.0.0
VisuEnumTableParts (ENUM) ¶ TYPE VisuEnumTableParts : InOut: Name CONTENT COL_HEAD ROW_HEAD COL_ROW_HEAD
VisuFbTableColumnSimpleBase (FB) ¶ FUNCTION_BLOCK VisuFbTableColumnSimpleBase EXTENDS VisuFbAbstractTableColumn IMPLEMENTS IVisualTableColumnSimpleBase InOut: Scope Name Type Initial Comment Inherited from Input m_pFirstCellData POINTER TO BYTE this input variable is used by CoDeSys to set the address of the first data cell of the column VisuFbAbstractTableColumn m_pSecondCellData POINTER TO BYTE The address of the second data cell of the column VisuFbAbstractTableColumn m_iLineOffset DWORD the offset of the addresses of the 1st and the 2nd data cell. Needed to calculate the addresses of the subsequent (3,4,5…) data cells VisuFbAbstractTableColumn DataArray IComplexElementCall VisuFbAbstractTableColumn m_pParentElement POINTER TO BYTE special attribute for this node, to make it real invisible by the AP VisuFbAbstractTableColumn m_sColumnVariable STRING(255) This variable stores the name of the variable, that is used to retrieve the cell values of the column Width INT 20 the width of the column. Default width is 20 m_bBitmapColumn BOOL Indicates, whether the content of the cell has to be interpreted as bitmap ID for drawing a bitmap. Can only be used if the cell content is of type string. BitmapConfiguration VisuStructBitmapConfiguration The configuration of the bitmap Editable BOOL TRUE if the cells of the column can be edited. Not used at the moment Selected BOOL TRUE if the column has to be displayed in the table Template VisuFbElemSimple The rectangle, that has to be used if Template is TRUE RowCount INT the number of rows of the column ColumnType TypeClass The data type of the column m_arrCells POINTER TO ARRAY [0..1] OF VisuFbElemSimple a pointer to an array of visualisation elements, that render the cells. The number of elements in the array corresponds to the number of visible rows in the table. The number of visible rows is also a parameter of the paint method. Should be accessed using the property “Cells”. m_iCountCells INT The number of elements in m_arrCells Should be accessed using the property “CellCount”. m_arrVisuFbAnalyzeTextVars POINTER TO ARRAY [0..1] OF VisuFbAnalyzeTextVars This variable stores the information for each cell (m_arrCells), how the text of a cell is retrieved. We need an array with the same size like m_arrCells, because all visible cells are computed during protUpdateCell m_iArrayIndex INT The array index which belongs to the column (example: The leftmost column (column index = 0) doesn’t have the array index 0 if the array dimension starts with a value != 0. So we have to store the corresponding array index too). Necessary Properties: DynamicCellsData DynamicCellsDataBase TemplateActive Methods: Checksum ContainsPoint GetColWidth GetMouseDownRectColumn GetRowCount GetSurroundingRectCell GetSurroundingRectColumn GetSurroundingRectColumnStatic IncreaseCellCount Initialize Paint PaintContent ResetCellCount SetClientData SetVisible UpdateDynamicCells protPaintCell protUpdateCell DoUpdateCell DoUpdateCellWithTemplate IsCellSelected Structure: Checksum (Method) ContainsPoint (Method) GetColWidth (Method) GetMouseDownRectColumn (Method) GetRowCount (Method) GetSurroundingRectCell (Method) GetSurroundingRectColumn (Method) GetSurroundingRectColumnStatic (Method) IncreaseCellCount (Method) Initialize (Method) Paint (Method) PaintContent (Method) ResetCellCount (Method) SetClientData (Method) SetVisible (Method) UpdateDynamicCells (Method) protPaintCell (Method) protUpdateCell (Method) virtual DoUpdateCell (Method) DoUpdateCellWithTemplate (Method) DynamicCellsData (Property) DynamicCellsDataBase (Property) IsCellSelected (Method) TemplateActive (Property)
VisuFbTableColumnSimpleBase.Checksum (METH) ¶ METHOD Checksum : VisuTypeChecksum This method computes the checksum of a cell of the column InOut: Scope Name Type Comment Return Checksum VisuTypeChecksum Input iRow INT The row of the cell