
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 this part of the code the basis of the constructor
The functions in this file link interface controls in various ways. For example:
1. The SWITCH_ALL command in the markup language means to set the activated state switching between all elements in a group. Suppose there are 10 radio buttons in a group. This command will make the buttons switch between themselves when clicked without additional code. The same is true for any elements - tabs, simple buttons, checkboxes, ... anything that can be clicked. Even different types of elements can be switched. The command is convenient if there are a lot of elements. If you need to switch individual elements within a group, their names are listed between the words SWITCH, ... END,.
2. The SYNC command works in a similar way, but with element parameters. It synchronises changes in parameter values. For example, we link the slider and the input field with buttons, so that when you enter a value in the input field, the slider moves to the desired position itself. Or by moving the slider handle, the values in the input field bound to it would change. You can synchronise the values of parameters of different elements if they have them. The "Set_SYNC()" function helps to do it.
3. C.word BLOCKS opens the list of elements to be locked when the main element is pressed. The "Set_lock_elements()" function is partially responsible for this command.
4. The function "Set_link_between_fields_and_tabs()" does exactly what its name says - it establishes a link between clicking on a tab and opening the space of its elements inside the window. That is, it manages the phenomenon of the elements assigned to it.
Can this be considered the basis of the constructor? Rather, it is one of the parts, of which there are many. The basis of the constructor is scattered over many files and is not collected in one place for objective reasons.
P.S. By the way, at first I wanted to release the constructor in one file and collected it. It turned out to be ~37 thousand lines. But even in that file I couldn't point to the basis of the constructor, because it can't be collected in one place for technical reasons.
I hope I helped in understanding, now I'll go to work on the release.))) If there will be questions ask, I will try to answer as much as possible).)