Фоновый рисунок страницы - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Фоновый рисунок страницы (/thread-1628.html) |
Фоновый рисунок страницы - Сергей Александрович - 04-21-2020 Подскажите как правильно указать фоновый рисунок для страницы. Цвет устанавливаю и все получается: В свойствах формы 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? RE: Фоновый рисунок страницы - TPiotr - 04-21-2020 Hi, Create a "wwwroot" folder and copy "FileName.jpg" there. RE: Фоновый рисунок страницы - Сергей Александрович - 04-21-2020 Получилось, спасибо ! |