Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Caption bar color
Tue, Feb 24 2015 9:20 AMPermanent Link

Uli Becker

I can't see how to change the color of the form's caption bar in the
interface(s). I don't use forms with captions, but for Dialogs I'd like
to change it.

Thanks Uli
Wed, Feb 25 2015 9:43 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< I can't see how to change the color of the form's caption bar in the
interface(s). I don't use forms with captions, but for Dialogs I'd like to
change it. >>

You might want to wait until the next build for this, due to the changes to
the form/dialog interfaces.

The answer, though, is:

The caption bar is normally transparent and takes on whatever color the
background of the form is set to.  But, you can just change the
TFormCaptionBar interface in order to permanently change the color.  You may
also want to add a little more default padding.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Feb 25 2015 2:09 PMPermanent Link

Uli Becker

Tim,

> You might want to wait until the next build for this, due to the changes
> to the form/dialog interfaces.

No problem.

> The answer, though, is:
>
> The caption bar is normally transparent and takes on whatever color the
> background of the form is set to.

I don't see that here. There is no blue background defined anywhere, but
the caption is always blue.

> But, you can just change the
> TFormCaptionBar interface in order to permanently change the color.

I did that, but no effect.

Sorry, if I miss something basic here, but I'd like to understand where
these colors are defined.

Uli


Wed, Feb 25 2015 4:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< I don't see that here. There is no blue background defined anywhere, but
the caption is always blue. >>

The blue background is defined in the base TForm interface.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Feb 26 2015 4:11 AMPermanent Link

Uli Becker

Tim,

> The blue background is defined in the base TForm interface.

OK, I didn't see it because I set the TForm's padding to 0. Thus the
blus background wasn't visible.

Thanks.

Uli
Image