Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Фоновый рисунок страницы
#1
Подскажите как правильно указать фоновый рисунок для страницы. 
Цвет устанавливаю и все получается: 
В свойствах формы 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?
Reply
#2
Hi,

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


Forum Jump:


Users browsing this thread: 1 Guest(s)