#### tvrman

##### Member
Hi,

I want in a form some labels, the labels should be shows the contents
of an variable, for examples the tables row count.
In an textbox disabled it looks ugly and to use it via addlabel
it shows an background which is not the same as the form self.

How can i do it?

see example

#### Cableguy

##### Expert
Use a Label!

Its background is the same as the forms's and is not editable...

#### specci48

##### Well-Known Member
Hi tvrman,

the default color of a form is 220,220,220.
Labels added at runtime get a default color of 212,208,200 (I don't know why ... )

So you have to correct the color property of a label added at runtime manually to the default form value.

specci48

#### tvrman

##### Member
Use a Label!

Its background is the same as the forms's and is not editable...

thanks!,
:signOops: i need to read TFM...

#### tvrman

##### Member
Hi tvrman,

the default color of a form is 220,220,220.
Labels added at runtime get a default color of 212,208,200 (I don't know why ... )

So you have to correct the color property of a label added at runtime manually to the default form value.

specci48

Yes that was i notice too, but i found meanwhile the solution thanks