QUOTE(rablake @ 17 Jul, 2008 - 01:40 PM)

Form1
---------------------
CODE
Friend SkyDome As New frmSkyDome()
Private Sub btnSkyDome_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSkyDome.Click
(Some Calcs that define global variables used to update Labels)
SkyDome.Show()
End Sub
Form2: frmSkyDome
---------------------
CODE
frmSkyDome.Topmost=TRUE
Private Sub frmSkyDome_Paint(ByVal sender As Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
LoadSkyDomeLabels()
End Sub
Friend Sub LoadSkyDomeLabels()
(Does calcs and loads labels)
End Sub
It runs the fisrt time fine. But labels won't update when new global variables are calculated in Form1 unless I close Form2 and reopen it. I want them to update live.
When you do the calculation in form1.
Add;-
vb
<Name of Form2>.Refresh
This will force Form2 to be repainted, which it turn will update the labels.