Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label Refresh problem
Message
From
03/08/2003 15:34:12
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00816322
Message ID:
00816330
Views:
22
Hi Sergey,

Ok
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

ENDDEFINE
For me Update Caption it means evaluate Caption expression and refresh label text.

If No, Update ??? what means?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform