Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't set the backcolor
Message
 
To
17/08/2007 13:47:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01248828
Message ID:
01248840
Views:
26
Denis,

Should work anyways, right?
loForm			= Createobject('myForm')
loForm.Show(1)

define class myForm as Form
	add object oShape as myShape with left = 1, top = 1, width = 30, height = 30	
enddefine

define class myShape as Shape
	procedure click()
		this.BackColor	= Getcolor(this.BackColor)
	endproc
enddefine
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform