(VFP) - Include Beautiful Clock on your Form

PUBLIC omform1

SET CLASSLIB TO c:\VCLOCK\class\mform.vcx ADDITIVE
SET CLASSLIB TO c:\VCLOCK\klock.vcx ADDITIVE

omform1=NEWOBJECT("mform1")
omform1.Show
RETURN


********************************************************
*-- Author: Leosan
*-- Form: mform1 (c:\VCLOCK\form\clock.scx)
*-- ParentClass: mform (c:\VCLOCK\class\mform.vcx)
*-- BaseClass: form
*-- Time Stamp: 01/30/08 10:16:06 AM
*
DEFINE CLASS mform1 AS mform


Height = 177
Width = 181
ShowWindow = 0
DoCreate = .T.
Caption = "Clock"
MaxButton = .F.
MinButton = .F.
Name = "Mform1"


ADD OBJECT clock1 AS clock WITH ;
Top = 5, ;
Left = 9, ;
Width = 168, ;
Height = 168, ;
ZOrderSet = 1, ;
Name = "Clock1", ;
year.Name = "year", ;
Transring1.Height = 160, ;
Transring1.Width = 160, ;
Transring1.Name = "Transring1", ;
Timer1.Name = "Timer1", ;
dayname.Name = "dayname", ;
month.Name = "month", ;
daymonth.Name = "daymonth", ;
Container1.dag.Name = "dag", ;
Container1.Name = "Container1", ;
Label10.Name = "Label10", ;
uurwyzer.Name = "uurwyzer", ;
minwyzer.Name = "minwyzer", ;
secwyzer.Name = "secwyzer", ;
Shape2.Name = "Shape2"


ENDDEFINE
*
*-- EndDefine: mform1
**************************************************

Comments

Indu lal said…
Hi Dear,

Thnx to share this blog. It's a great job that show vfp rocks!!!

But i did not find class mform.vcx and klock.vcx.
Elchan said…
Please send to elchan99@gmail.com and i will send u the missing file

Popular posts from this blog

(VFP) - Running Visual FoxPro on Linux

(VFP) - How To Run Exe File and include them to your Project

(VFP) - How to put calendar on your vfp application