>Hi everybody,
>
>I have a pageframe with many pages. In one page I want to set lbl caption in run-time and after that center that label. In Page.Activate I put this code
>
>LOCAL loError as Exception
>try
> this.lblPageInfo.caption = 'Component Shows for ' + thisform.oCurrentNode.Values('SeriesDescription').value
> this.lblPageInfo.Visible = this.lblPageInfo.Visible
>CATCH TO loError
> *
>endtry
>this.lblPageInfo.Left = (this.Parent.Width - this.lblPageInfo.Width)/2
>
>Label AutoSize property is set to true.
>
>However, the label does not get centered.
>
>What do I miss?
>
>Thanks in advance.
>
>BTW, I think I need to drop the word 'Component' from that text.
this.refresh()?
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges