====== AddControl ====== The command adds a control to the current dialog. Before calling this command, it is necessary to add a dialog with command [[movebutton_adddialog]]. AddControl [/X:] [/Y:] [/W:] [/H:] [] **Control parameters** |< 100% 15% >| ||Control class (TButton e.t.c.).| ||The instance number for a given class, from 1 and up. May vary between versions of Total Commander.| **Modify parameters** The parameters /X, /Y, /W, /H set the offset relative to the original coordinates of the window or change its size. If the parameter is omitted, it is considered that its value = 0 (i.e., the window does not move along this coordinate or does not change the corresponding size). Values are set at a standard density of 96 dpi. At higher density values, the control will be scaled automatically, or, respectively to the /NOSCALE parameter in the [[movebutton_adddialog]] command. |< 100% 15% >| |/X:|The offset of the control in X relative to its original position. A positive value shifts the dialog to the right, a negative one to the left.| |/Y:|The offset control on Y relative to the original position. A positive value shifts the dialogue down, a negative one --- up.| |/W:|Change the width of the control relative to the original. A positive value increases the width, a negative value decreases.| |/H:|Change the height of the control relative to the original. A positive value increases the height, a negative value decreases.| ||New text of the control.|