Hi there!
I have a strange problem with the backfill option of the Display preprocessor command. I wanted to have a window with a gradiant background, so I wrote this in my script at the beginning:
Code: Select all
@DISPLAY {Title = "Enterprise NX-01", X = #LEFT, Y = #TOP, Width = 320, Height = 240, Backfill = {Type ="Gradient", StartColor = #BLACK, EndColor = #BLUE}}
For test reasons I added the following command after the @DISPLAY:
Code: Select all
@BGPIC 1, "AmiKit:Prefs/Presets/Backdrops/Magic.jpg"
Also, I tried this code, but it fails with sth like "A value was expected!", in German "Es wurde ein Wert erwartet!" and points to the following line:
Code: Select all
@DISPLAY {Title = "Enterprise NX-01", X = #LEFT, Y = #TOP, Width = 320, Height = 240, Backfill = {Type = "Picture", Brush="AmiKit:Prefs/Presets/Backdrops/Magic.jpg", X = #CENTER, Y = #CENTER}}
Micha