Archive: bgtext


bgtext
  Hi all,

Just a quick qestion...

I have written an installer that uses the bggradient and bgfont attributes. When I test the installer, the gradient appears, but there is no text on the gradient.

Is there a way to set/modify the text on the bggradient?

Thanks in advance for the help.

John Gasker
johngasker@verizon.net


Can you post a section of your code or a cut down sample that we could download and try ourselves? That would make it easier to try and help you.


I'm working on that now. I should have code posted soon.

John Gasker
johngasker@verizon.net


Here is the code. I put all necessary files inside a zip archive in order to help prevent compile errors.

(fyi - Yes, I know code is Adobe-related - I'm not going to distribute it in any way - It's for personal use)

Thanks again in advance.

John Gasker
johngasker@verizon.net


I changed "BGGradient" to "BGGradient 000000 800000 FFFFFF" and it showed up. I think you need to explicitly set the values as I think the last value is the font color.


I made the changes and the text showed up for me as well. The last attribute is the font color. I guess all attributes must be specified in order for text to show up. Thanks, CrushBug!

Also I've got another question. Is there a default value that I can put in so that I can use the default gradient colors (black to blue) slong with the text?

Code Sample 1:
bggradient default_top default_bottom ffffff

In other words, if you looked at Code Sample 1 (above), what could I specify for the first two attributes in place of "default_top" and "default_bottom" so that the default black to blue gradient would be displayed along with the text using the color specified in the third attribute?

Note: I tried using Code Sample 2 (below) which did not work. All I got was no text and a white to black gradient.

Code Sample 2:
bggradient ffffff

Thanks again in advance for the help.

John Gasker
johngasker@verizon.net


Hi,

Haven't got a response to my recent post in awhile. Can someone possibly answer my post?

Thanks,

John Gasker
johngasker@verizon.net


Try empty parameters? ""

Stu


Empty parameters doesn't work..

You must specify the colors, as CrushBug stated.

What you -could- do is define the colors, of course:


Section
SectionEnd
>

or, if you -really- want to do away with the color specifications, create a new define...


Section
SectionEnd
>
But given that BGGradient is an installer attribute that you'd only really use once.. I'm wondering if it's worth the bother.