PUBLIC oform1 oform1=NEWOBJECT("form1") oform1.Show DEFINE CLASS form1 AS form Caption = "Form1" Name = "Form1" ADD OBJECT label1 AS label WITH ; Caption = (TTOC(DATETIME())), ; Left = 42, ; Top = 43, ; AutoSize = .T., ; Name = "Label1" ADD OBJECT command1 AS commandbutton WITH ; Top = 42, ; Left = 249, ; AutoSize = .T., ; Caption = "Refresh Label", ; Name = "Command1" PROCEDURE command1.Click ThisForm.Label1.refresh() ENDPROC ENDDEFINEFor me Update Caption it means evaluate Caption expression and refresh label text.