Проверил данный код функции, в версии 2.6 работает исправно
Вид для печати
Запустите этот проект в симуляции:
Вложение 74879
День добрый! При создание проекта с помощью Мастера тиражирования появляются предупреждения, на сколько они критичны? Owen Logic 2.6.347 Windows 10 x64, 7 x64
Вложение 74960
Прошил, вроде как работает!
Есть следующий нюанс работы ПР205 На экране использую динамический текст,там порядка 60 значений от 1 до 2001. В эмуляторе все значения показывает корректно, а в самом приборе начиная с 1000 значения уже не подставляет текст, а только само значение.Вложение 74962Вложение 74963
Изменил цифры с 1000 на 300 и всё равно показывает только цифры, а не текст! Какой вообще предел допустимых диапазон цифр и их количество в графическом элементе Динамический текст?!
Добрый день . При попытке поиска в менеджере компонентов вылезает ошибка и фризит окно. только выйти и зайти можно . но поиск приводит к такой же ошибке.
Цитата:
2.6.347.0
System.NullReferenceException: Object reference not set to an instance of an object.
at ProgramRelayFBD.DomainLayer.Behaviors.DataGridBeha viors.ComponentDataGridBehaviour.OnCellPainting(Da taGridViewCellPaintingEventArgs e, NPalette dataGridPalette)
at Nevron.UI.WinForm.Controls.NDataGridView.OnCellPai nting(DataGridViewCellPaintingEventArgs e)
at System.Windows.Forms.DataGridViewCell.PaintWork(Gr aphics graphics, Rectangle clipBounds, Rectangle cellBounds, Int32 rowIndex, DataGridViewElementStates cellState, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
at System.Windows.Forms.DataGridViewRow.PaintCells(Gr aphics graphics, Rectangle clipBounds, Rectangle rowBounds, Int32 rowIndex, DataGridViewElementStates rowState, Boolean isFirstDisplayedRow, Boolean isLastVisibleRow, DataGridViewPaintParts paintParts)
at System.Windows.Forms.DataGridViewRow.Paint(Graphic s graphics, Rectangle clipBounds, Rectangle rowBounds, Int32 rowIndex, DataGridViewElementStates rowState, Boolean isFirstDisplayedRow, Boolean isLastVisibleRow)
at System.Windows.Forms.DataGridView.PaintRows(Graphi cs g, Rectangle boundingRect, Rectangle clipRect, Boolean singleHorizontalBorderAdded)
at System.Windows.Forms.DataGridView.PaintGrid(Graphi cs g, Rectangle gridBounds, Rectangle clipRect, Boolean singleVerticalBorderAdded, Boolean singleHorizontalBorderAdded)
at System.Windows.Forms.DataGridView.OnPaint(PaintEve ntArgs e)
at Nevron.UI.WinForm.Controls.NDataGridView.OnPaint(P aintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandlin g(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)