>>this.caption=padc('Table Maintenance for '+proper(pcTable),this.width)>>
*form.init >this.caption = ; > padc(this.caption,; > (WCOLS( )-; > TXTWIDTH(this.caption,'Arial',12)*; > FONTMETRIC(6,'Arial',12)/FONTMETRIC(6)))Cetin
local lcCaption lcCaption='Table Maintenance for '+ proper(pcTable) this.caption = ; padc(lcCaption,; (wcols( )-; txtwidth(lcCaption,'Arial',12)*; fontmetric(6,'Arial',12)/fontmetric(6)))I tried this.FontName, this,FontSize instead of Areal,12 and wfont(1),wfont(2),wfont(3). Same result for all three attempts...