Discussion of article "Graphical Interfaces X: Sorting, rebuilding the table and controls in the cells (build 11)" - page 9

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Alignment of what?
to display the picture, you need to align the text in the table cell after calling the AddRow method, you yourself wrote me about it and before that I also guessed what I wrote above.
to display the picture, you need to align the text in the table cell after calling the AddRow method, you wrote about it yourself and before that I also guessed what I wrote above
The text is aligned by default for the whole column. When adding rows(AddRow) the default value remains the same.
There is also such a method:
The text is aligned by default for the whole column. When adding rows(AddRow) the default value remains the same.
then it is not clear why the image is not displayed in the added row:
By the way, if the number of rows in the table is not known in advance, then when you add them later, the information is added to the cells, but you can't change the alignment on the column with the picture:
maybe there is some other mechanism, tell me.
I made a function to add rows to the table: it reads data from the file about the symbols ticked in the table with the list of working symbols (which should be displayed in the main table) and adds them to the table:
I made a function to add rows to the table: it reads data from the file about the characters ticked in the table with the list of working characters (which should be output to the main table) and adds them to the table:
Good example. Because I want to help, but I don't have time. )
Based on our previous discussions, I will add simpler methods for changing table parameters. In the coming updates will be available.
I made a function to add rows to the table: it reads data from the file about the symbols ticked in the table with the list of working symbols (which should be displayed in the main table) and adds them to the table:
I don't understand anything, I do the same thing, but the picture doesn't appear, although all the data is added and updated:
what can be the error, please tell me, because all work further stands still ))
I don't understand anything, I'm doing the same thing, but the picture doesn't appear, although all the data is added and updated:
what can be the error, please, and then all work further stands still ))
And where do you set the alignment for columns with pictures?
There should be an array where each column has its alignment set.
Where do you set the alignment for columns with pictures?
I do it in the table creation method, but if I add it like this:
it still doesn't change anything ((
the issue's been resolved, I made a mistake in the indexing: