Errors, bugs, questions - page 1376
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
We set all parameters and all parameters are saved except the fat type...
Colour size all saved after reloading only fat type is deleted...
We set all parameters and all parameters are saved except fat type...
Colour size all is saved after reloading only Tol type is deleted...
Do the same and forget it like a bad dream ;)
Do the same and forget it like a bad dream ;)
With this approach, the properties of the button will change on every tick...
With this approach, the properties of the button will change on every tick...
That's strange. In my case, they do not change on every tick, but remain as I need and set by me, and I always create button when I need it, not in OnInit(), as Vladimir advises.
I always send the button the property type I want when I need it.
Create a button once - at OnInit.
And if the number of buttons is dynamic?
Create when you need to - it will always be when you want it to be. You don't need to invent problems - check them out. All the same, you will be able to change the tooltips on the fly, depending on the situation. But the button will not get re-created, but its parameters will change according to the new parameters passed to the function.
ZS. I can record you a video of how descriptions (tooltips) of one object change depending on the state of other objects.
Create when you need to - it will always be when you want it to be. You don't need to invent problems - check them out. All the same, you will be able to change the tooltips on the fly, depending on the situation. But the button will not be created anew, but its parameters will change in accordance with the new parameters passed to the function.
SZZ. I can record you a video of how descriptions (tooltips) of one object change depending on the state of other objects.
I'd love to see it.
I create some interface, with buttons, when I create a tooltip. When I restart the terminal, the tooltip is removed and I have to write it in again...
Here's a simple code that creates a button with a tooltip and after you reboot the tooltip disappears, try it...
Here's how it works.
This has already been pointed out to you in Service Desk...