Skip to content

Wisej.Web.Ext.JustGage.JustGage - values not refreshing correctly on timer. #1157

Description

@itg-assistant

Shawn Ramirez asked 2017-10-13 19:19:13 UTC

I have a number of guages that I am building based off a list into a flow layout control. Below is the code that I use to draw them.
I have a timer that fires every 10 seconds. In the timer, I clear the flow layout control with .clear then based off the list, add the controls I want back in with the flowlayoutcontrol.controls.add() function.
The controls are drawn each time, but the data in the controls doesn't change.

I am sure I am missing something, but I am again at a loss as to what.

   Dim guage = New Wisej.Web.Ext.JustGage.JustGage()

    With guage
        .Label = Nothing
        .Location = New System.Drawing.Point(6, 21)
        .Size = New System.Drawing.Size(115, 115)
        .Symbol = Nothing
        .TabIndex = 0
        .Name = ControlName
        .Text = Title
        .Value = Value
        .Label = 100
        .Maximum = Max
        .Decimals = DecimalPlaces

    End With

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions