Article ID: 142554
Article Last Modified on 9/30/2003
zObject = "thisform."+(this.zobjname) * Adding 5 to the values below will cause the position to be * shifted down and to the right by 5 pixels. Recall that the * DrawWidth property has been set to 5. If one of these values * is changed, then the other should be as well. xleft = &zObject..left + 5 ytop = &zObject..top + 5 xright = &zObject..left + 5 + &zObject..width ybottom = &zObject..top + 5 + &zObject..height thisform.box(xleft,ytop,xright,ybottom)
ThisForm.Release
ThisForm.zobjname = This.Name ThisForm.MakeBoxNOTE: If additional objects are added to the form, the makebox method can be called to act on them by adding the above two lines of code to the object's Init event, as demonstrated in Step 5.
Additional query words: VFoxWin
Keywords: kbcode KB142554