
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
Is "END " fixed when setting the end of an element attribute set?
With great regret I found no mention of drawing elements directly on the painted canvas, closing the whole chart. In other words - one "full screen" window, without a frame and close buttons, etc.
That's what I need. Not panels on top of the chart.
If it is not implemented, it is not difficult for you. Add the ability to open a window in the size of the chart and without a frame.
I'm not quite sure what the question means, but if we're talking about setting the properties of individual elements inside or outside of a group, then no. You don't need to set them. However, in the case of multiple initialisation of attributes (as in the example above), it is necessary to put "END" at the end of the enumeration string.
You need real code to understand 2,3,4,5,6.
There is a scalable dynamic window expanding to the whole chart. It is disabled in this version, but I will add it in the next version. Will this option work?
I don't know what it will be like yet. If the window will expand to the whole chart, keeping the frames and close/minimise buttons - it will be a step forward to my wish. But if drawing of these window elements is already implemented, it is easy to disable this drawing with the FULL_SCREEN flag . Your graphic designer looks like that.
There are a lot of questions, I don't ask while the process of publishing lessons is going on. Something will become clearer in time.
1. I don't know what it will be like yet. If the window will expand to the whole chart, preserving frames and close/minimise buttons - it will be a step forward to my wish. But if drawing of these window elements is already implemented, it is easy to disable this drawing with the FULL_SCREEN flag . That's what your graphic designer looks like.
There are a lot of questions, I don't ask while the process of publishing lessons is going on. Something will become clearer in time.
1. I will think over the option of "over-expanding" the dynamic window with the frames going out of the field of view when clicking on a special zone, for example, the upper left corner. But this will be done later. I will release a regular dynamic window first.
2. I understand, good.
Since the KIB markup language has no depth of complexity and the further material is as easy to learn as the initial one, I will deviate from the order of presentation and give the enumerations ending with the k.word "END".
1. The first enumeration we learnt in the previous examples: mass setting of properties of elements of the same type within a group.
When properties are initialised multiple times, this rule works for all elements. Properties not mentioned in the enumeration will retain their default values, or the values that were set by the user before the enumeration string.
1.
Aproperty of an element ALWAYS has the last value set.
In this picture, all buttons except the top button have a default height value. The top button has been assigned a height of 50px by the user. Below in the code, this value is not overridden because the button property enumeration is set to WIDTH (120 px) only.
2.
Here, the previously set "button 1" button height value is overwritten with the new value in the enumeration line and no longer works.
3. And in this example, the value set in the enumeration for one specific button in the row below the enumeration is overwritten:
Code:
Option 1:
Option 2: