* QuickAndDirtyBuilder.prg local ix, lcMethodCode, lcMethodName local array aObj[1] lcMethodName = 'LostFocus' text to m.lcMethodCode noshow *Write your method code here endtext aselobj(aObj) for m.ix=1 to alen(aObj) if lower(aObj[m.ix].baseclass == 'textbox' aObj[m.ix].WriteMethod(m.lcMethodName, m.lcMethodCode) endif endforDuring design you might select the textboxes you want, go to command prompt: