Classes for creating panels and dialogues - page 7

 
Andrey Voytenko:

Surprisingly, this panel does not want to work out of the box. When switching timeframes, it drops out and closes the chart with it.

I do not observe this. It switches. It glitches when switching - yes. But only in that:

- dropbox mode list status display disappears
- dropbox states are not saved
- spinner box values are not saved (+ disappear)
- calendar is reset
- collapsed window state resets
- list scroll glitches (if you scroll to the bottom and switch timeframe - slider position remains at the bottom and the list reinitializes to the beginning)

This along with the fact that the other items keep their state and display it correctly when switching.


 
Andrey Voytenko:

Is it just me?


No, it's not just you.

I also wanted to use it to make a panel, as they call it here, but it didn't work.

I thought it could be done as easily as it is done with DialogBox template in Visual C++ where such things are done in 5 minutes, but apparently I had to try and spend some time to understand it. Well, I did not.

I used MQL5 graphical objects, but they are not efficient.