Atozed Forums

Full Version: Фоновый рисунок страницы
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Подскажите как правильно указать фоновый рисунок для страницы. 
Цвет устанавливаю и все получается: 
В свойствах формы BGColor := cl(Color)  и фон красится в нужный цвет.
А вот указать фоновый рисунок не получается...
Background.FileName := FileName.jpg; 

Вероятно я не верно указываю путь к файлу или не в том каталоге его размещаю. 
Подскажите как правильно? 

Tell me how to correctly specify the background image for the page.
I set the color and everything works out:
In the form properties, BGColor := cl(Color) and the background is colored to the desired color.
But you can't specify the background image...
Background.FileName := FileName.jpg;


I probably incorrectly specify the path to the file or place it in the wrong directory.
Tell me how to do it correctly?
Hi,

Create a "wwwroot" folder and copy "FileName.jpg" there.
Получилось, спасибо !