As an alternative, before the form is actually drawn you can check the pixel width of the label and move it on the screen so that it is centered.
Roger Stringer Marietta Systems, Inc (www.RF-TP.com) >Subject: Re: Centralizing a Label Resource >From: "Markus Dresch" <[EMAIL PROTECTED]> > >you mean you want to have a lable NOT left-justified? afaik that's not >possible... use the WinDrawChars stuff instead. also have a look at >FntCharsWidth to find out the width of your string. this way you c >an draw your string wherever you want. > >> Hy all! >> >> Does anybody know how can i centralize a label resource in a form? >> >> Thanks!!! >> >> Regis Daniel de Oliveira > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/