Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't set the backcolor
Message
 
À
17/08/2007 13:47:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01248828
Message ID:
01248840
Vues:
27
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform