>Hi everyone,
>
>Simple problem: I want to center caption of my form, so I tried:
>
>
>this.caption=padc('Table Maintenance for '+proper(pcTable),this.width)
>
>Didn't work.
>
>What should I do?
I'd advise against this. Windows UI guidelines specify the caption is to be left-aligned. Your application will look differently than all others.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer