/
MadDAD
/
alterplast
Обзор
Документация
Войти
/
MadDAD
/
alterplast
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
OpenConf_doc/Forms.htm
191 строка
11 KB
trdm
+ Добавил описание проекта опенконф с сайта http://script-coding.com
01 дек 2017, 14:11
01 дек 2017, 14:11
dfaa0dd
Код
Авторство
О чём код?
<html><head> <meta http-equiv="Content-Language" content="ru"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <title>Forms</title> <meta name="keywords" content="Forms ������� OpenConf 1�:�����������"> <meta name="description" content="������� ��� ��������� OpenConf: ������ � �������"> <style type="text/css"> .paragraph {text-align:justify; text-indent:2em; margin-top:0; margin-bottom:0} </style> </head> <body bgcolor=#E0E0E0> <p><a href="index.html">������� �� ������� ��������� ����� (������ ������, ����� ��� ����������)</a></p> <p><a href="http://forum.script-coding.com">����� (����� ����� �������� ��� ������, � ����� ����� �������� ���������������� �� ��������� ����������� � � ���������� ������)</a></p> <h1>������� ��� ��������� OpenConf: ������ � �������</h1> <h2 style="text-indent:1.3em">���������� � ��������� ��������</h2> <p class="paragraph"> ������� ��� ��������� OpenConf, � ������� ����� ���� � ���� ������, ������������� ��� ��������� �������� � ������������� ������ � ������� ������������ ��� ������� ��������� 1�:�����������. ������ ������� ������� ������� ����������� OpenConf. �������� ���������� �� OpenConf (� ��� ����� � � ���, ��� ��� ����� ������� ������ �� ���������, � ������� ����� ���� � ���� ������) �� ������ � ������ "<a href="OpenConf.html">������ OpenConf (�������� ������������)</a>" �� ���� �����. ������� ��� ��������� OpenConf ���������������� ��������. </p> <p class="paragraph"> ��������� �������� �������� � ����������: </p> <OL style="text-indent:0em; margin-top:5; margin-bottom:5;"> <LI>���������� OpenConf, ���� �� ��� �� ����������.</LI> <LI>���������� MS XML Parser, ���� �� �� ���������� �� ����� ����������.</LI> <LI>���������� ���� <b>CommonServices.wsc</b> � ����� ������� �� ������ �����, �������� <br><br> <span style="color:navy; font-weight:bold;"> C:\Program Files\1Cv77\BIN\config\system\ </span> <br><br> ���� ���� �� ������ ������ ��������������� � ����������� "config" �������� ����������� ������ 1�:�����������, ��� ��� ��� dll-����� �� ���� ����� OpenConf ������� ��������� � �������� �� ��������� � ������ ������� ������������� (� ���� ���� �������� ��� OpenConf �� ��������). ��������������� � ������� ��� ���������� � ������� regsvr32.exe, ���� ��� ��� �� �������. ��������� ������ ����������� ���������� ����� ���������, ��������, ���: <br><br> <span style="color:navy; font-weight:bold;"> regsvr32.exe "C:\Program Files\1Cv77\BIN\config\system\CommonServices.wsc" </span> <br><br> </LI> <LI>���������� ����� <UL style="text-indent:0em; margin-top:5; margin-bottom:5;"> <LI>�������� ����.js</LI> <LI>������� ����.js</LI> <LI>ExpandForm.vbs</LI> <LI>������� ������ �� �����.vbs</LI> <LI>�������������������������.vbs</LI> </UL> � ���������� "config\scripts\Forms\" �������� ����������� ������ 1�:�����������, ���� ���� ������ ��� ��� ���. ������ ���� � ����� �������� ����� ���������, ��������, ���: <br><br> <span style="color:navy; font-weight:bold;"> C:\Program Files\1Cv77\BIN\config\scripts\Forms\ </span> <br><br> ����������: � ��������, ����� "Forms" ����� � �� ���������, ������� ������� ����� � "config\scripts\". ������, ����� ���� ��������, ��� OpenConf ���������� � ������ �������. ���� ������������ �� �������� ���������� ��, ������ �������������� ��������� ����� ��� ����������. </LI> <LI>���������� ���� <b>FormEditor.html</b> � ���������� "config\html\" �������� ����������� ������ 1�:�����������, ���� ����� ����� ��� ��� ���. ������ ���� � ����� �������� ����� ���������, ��������, ���: <br><br> <span style="color:navy; font-weight:bold;"> C:\Program Files\1Cv77\BIN\config\html\ </span> <br><br> </LI> <LI>������������� ������������, ���� �� ��� �������.</LI> </OL> <h2 style="text-indent:1.3em">�������������</h2> <p class="paragraph"> ������������� ������� �������� ������� (������ �������� �� ������ ������� � ������ �� ������� OpenConf ���� ������������), ������� �� ������� �� ������ ��������� ��������� ������ ����� ���� "OpenConf" - "�������" - "����������...". �� ������ ��������� ����� ������ � �������, �������� � ����� ������ ������, ����� Ctrl+M � ������ ������ ������ � ����������� ���������� ����. </p> <hr> <p class="paragraph"> ������ <b>������� ����.js</b> ��������� ������ ��������� ����� �� ����� ��������� ��������. �������� �������: </p> <br> <TABLE border="1" width="100%" cellspacing="0"> <TR><TH>������</TH><TH>��������</TH></TR> <TR> <TD>createFormTemplate</TD> <TD>������ ��������� ��� ���������� ������ �������� � ������ ������ �����.</TD> </TR> <TR> <TD>createControlsTemplate</TD> <TD>������ ��������� ��� ���������� ������, ���������� ���������� �������� ���������� �������� � ������ ������ �����.</TD> </TR> <TR> <TD>loadForm</TD> <TD>��������� ��������� ��������� ��� ���������� ������ � �������� � ������ ������ �����.</TD> </TR> <TR> <TD>loadControls</TD> <TD>��������� ��������� ��������� ��� ���������� ������, ��������� �� ������ ��������� ����������, � �������� � ������ ������ �����.</TD> </TR> <TR> <TD>deleteFormTemplate</TD> <TD>������� ��������� ��������� ��� ���������� ������ �� ������ (� ���������).</TD> </TR> <TR> <TD>deleteControlsTemplate</TD> <TD>������� ��������� ��������� ��� ���������� ������, ��������� �� ������ ��������� ����������, �� ������ (� ���������).</TD> </TR> <TR> <TD>replaceString</TD> <TD>�������� ������ / ����� ����� � ���������������, ���������� ��� �������� ��������� ���������� �������� � ������ ������ ����� � ������� ���������� ���������.</TD> </TR> </TABLE> <br> <p class="paragraph"> ���������� ������� �������� � ����� <b>������� ����.xml</b>, ������������� � ����������� "config" �������� ����������� ������ 1�:����������� (���� �������� �������������). ���������� ������� ����� �������� ��� ������ � ������� �������� <i>loadForm</i> � <i>loadControls</i> � ����� �������������� ���� 1�:�����������. ��������� ������� �������� � ����� <b>������� ����.xml</b>, ������������� � �������� ��� �������������� ���� 1�:�����������, � ������� ��� ����������� (���� �������� �������������) � �������� ��� ������ ������ � ���� ����. ���� ����� �������� �������� ����������, ��������� �� �������������� ����������� ��������, ������������ ��� ���������� ������������, ���� ����� ��������� ������ �� ������ ���� ����� ��� ���������. </p> <p class="paragraph"> � ������� ����� �������� ����� ����� � ������. � ������ �������� ������� (������ <i>loadForm</i>) ���������� ����� ����� � � ������ ��������� ����������. � ������ �������� ������� ��������� ���������� (������ <i>loadControls</i>) ���������� ����� ����� �����������, � � ������ ������� ��� ��������� (�������, ����� �������� ������� ����� ������ � ������� "������" � ����� <i>������� ����.xml</i>, ����� ��� �������� ������� ��������� ���������� ����� �������� ��������� � ����� �������� ������). </p> <p class="paragraph"> ������ <i>replaceString</i> ��������� ������ �������������� ��������������, ��������� ��� ������� ��������� ���������� �������� � ������ ������ ����� � ������� ���������� ��������� (������� ���������� ��������� ��� ������ � ���������� ��������� ��� ������). � ���������� ������ ������ ����� �������� ��� ������ �������� ��������� �� ���� ��������� ���������� �����. </p> <hr> <p class="paragraph"> ������ <b>�������� ����.js</b> ������ ��� �������� �������������� ������� <i>������������� ������ ���� ����������</i>, <i>������������� ������ ���� ������� ������������</i> � <i>������������� ������ ���� ��������</i>. ��������, ����� ������ ��� ������� ������� ��������� ����� � ������ ������, �������� ������ ������� ��������� ����� � �.�. ������������ ������ <i>openEditor</i> ��������� ���� ��������� (����� ���� �������� �����). �������� ��������� ���������/�������/��������� ������� � ��������� �������, ������ �� �������, �������� �������������, ���������, �������, ��������, ���������, ������, ��������� � ��������� �������. </p> <p class="paragraph"> ������� ��� ������ � ���� ��������� �������� �� ������� ������� � ��������� ���������/�������/��������� ������� � ��������� ������� � ������ �� �������. ��������� �� ������ ������� �������������� ��������� <b>�����</b>, <b>����</b>, <b>Home</b>, <b>End</b>. � ������ ������� ����� ����� ������������ ��������� <b>Insert</b> (�������� �������), <b>Ctrl+Insert</b> (�������� �������), <b>Delete</b> (������� �������), <b>Ctrl+Home, Ctrl+End, Ctrl+�����, Ctrl+����</b> (����������� �������). </p> <p class="paragraph"> �������� ���������� ���������, ������������� ��� ������� �������, ��������� �������� � ���������� ������� ������ ������ (������� ������������� ���������� ������� ��������� ����� �� �����). ���� ����������� �����-���� ���������, ����� ������ ������� (�������� � ������ ������ ������) ������� ������ ������ "���������" (��� ������� <b>Enter</b>). ��������� ������ <b>Ctrl+Enter</b> ��������� ��������� � ��������� ��������. </p> <p class="paragraph"> ������� <b>Escape</b> ��������� HTML-���� ���������. </p> <hr> <p class="paragraph"> ������ <b>ExpandForm.vbs</b> ������ ��� ��������� ���� ��������� ���������� ����� � �� ������� � ����������� ���� (� ����� �������). ����� ���� ������, ��������, ��� �������� ������ � ������� �������� ������ ��������� ������� � ������ ����������. ������������ ������ <i>ShowExpandForm</i> ��������� ���� ��������� (����� ������ ���� �������������� �������). </p> <hr> <p class="paragraph"> ������ <b>������� ������ �� �����.vbs</b> �������� ������ ������� ����������� "����������" ������ �� ����� �������� ������ (������ <i>CreateButtonReset</i>). ���� � ��� ������� ����������� � ������������, � �� ����������� ������� ����� (���������), ����� ������ �������� ������ "�������������" ������� ����� � �����������, ���� �� ��� ������ ��� ��������� � ������������� (������� �� ��� ������ � ����������� ����� ����������� �������� ������ � ��� ���������� ��������). </p> <hr> <p class="paragraph"> ������ <b>�������������������������.vbs</b> ������������ ��� ���������������� �����: ������������ ������ <i>CheckControlFunctionsExistens</i> ��������� ������� �������, ��������������� � ��������� ���������� �����. ������� ������������� � ������� � ���������� �������. ���� ������ �� �������, �� ������� ��������� ���� <i>������� - ��������� - ������������� - ����������</i>. </p> <p style="text-align:right"> <small>����������� ���������</small> </p> <p><a href="index.html">������� �� ������� ��������� ����� (������ ������, ����� ��� ����������)</a></p> <p><small>© 2007 <A HREF='http://www.script-coding.com/'>http://www.script-coding.com</A> ��� ����� ������������� ���������� ����� ����������� <b>������</b> �� ���� ��� �� �������� ����������, � ����� ���������� <b>�����������</b> � <b>���������</b> ����������.</small> </body></html>