Автор Тема: EasyLanguage  (Прочитано 216177 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Gelium

  • Администратор
  • Сообщений: 9 511
    • Просмотр профиля
    • Gelium.net
EasyLanguage
« Ответ #230 : 04 Сентября 2025, 17:24:19 »
Вывод в лог инфы о текстовых метках в окне графика:

for Value1 = 0 to DrawingObjects.Items[ObjectCategory.TextLabel].Count - 1 begin
xText = DrawingObjects.Items[ObjectCategory.TextLabel].Items[Value1] astype TextLabel;
if xText.PointValue istype DTPoint then
Print("Text ", xText.TextString,
      " Date ", (xText.PointValue astype DTPoint).DateTimeOfBar.ElDate:7:0,
      " Time ", (xText.PointValue astype DTPoint).DateTimeOfBar.ElTime:4:0,
      " Price ", (xText.PointValue astype DTPoint).Price:7:0);
end;