A property of an object can only be referenced by inclduing the objects name in teh reference. IN your case you need to preface the property name with Thisform. as in Thisform.H or Thisform.SomePropertyName. Thisform is a a VFP keyword that refers to the fomr that the code is inside. This refers to the object that the code is in.