проблема оказалась в фигурных скобках в тегах.
Add(ChildGroupBox,16596836,343,161)
{
}
BEGIN_SDK
Add(EditMulti,12324586,21,21)
{
WorkCount=2
Width=720
Height=368
link(doWork1,2822035:doBringToFront,[(28,27)(28,34)])
link(doWork2,2822035:doSendToBack,[(28,34)(28,41)])
}
Add(GroupBox,2822035,35,28)
{
Left=35
Top=105
Align=5
Caption="На печать."
Point(doBringToFront)
Point(doSendToBack)
}
Add(Button,7347469,91,77)
{
Left=5
Top=20
Width=90
Caption="Создать HTML"
link(onClick,8056583:doEvent1,[])
}
Add(DoData,682558,210,84)
{
Data=String(<html><head></head><body><h3 align="center" style="color:Tomato">Домашняя бухгалтерия. РАСХОДЫ.</h3> <table lign="center" border="1" width="90%"> <tr><td>Наименование расходов </td><td> Сумма </td></tr> )
link(onEventData,4584918:doWork1,[(473,90)])
}
Add(DoData,5200042,287,252)
{
Data=String(</table></body></html>)
link(onEventData,14204559:doWork3,[(473,258)])
}
Add(Hub,8056583,147,77)
{
OutCount=5
link(onEvent1,7247405:doClear,[(486,83)(486,244)])
link(onEvent2,682558:doData,[])
link(onEvent3,3517164:doEnum,[(177,97)(177,195)])
link(onEvent4,14204559:doWork2,[(170,104)(170,237)])
link(onEvent5,6248942:doEvent1,[(167,111)(167,300)])
}
Add(StrList,7247405,511,231)
{
}
Add(HubEx,14204559,469,231)
{
link(onEvent,7247405:doAdd,[])
}
Add(DoData,3641262,511,294)
{
link(onEventData,13482478:doMask,[])
link(Data,7247405:Text,[])
}
Add(WebBrowser,14981452,658,259)
{
Left=120
Top=15
Width=605
Height=510
Point(doFromText)
Point(doPreview)
}
Add(Button,5676408,511,336)
{
Left=5
Top=50
Width=90
Caption="Печать"
link(onClick,14981452:doPreview,[(651,342)(651,300)])
}
Add(StrList,14624440,217,126)
{
Strings=#8:Вася;230|8:Коля;150|8:Петя;470|8:Витя;100|
}
Add(ArrayEnum,3517164,231,189)
{
@Hint=#20:Подключаешь к своей |21:таблице к точке Array|
link(onItem,10559579:doSplit,[])
link(onEndEnum,5200042:doData,[(275,202)(275,258)])
link(Array,14624440:Array,[])
AddHint(60,-54,131,26,@Hint)
}
Add(FormatStr,3358128,357,189)
{
Mask="<tr><td> %1 </td><td> %2</td></tr>"
link(onFString,4584918:doWork2,[])
link(Str1,10559579:Left,[(363,177)(335,177)(335,233)(307,233)])
link(Str2,10559579:Right,[(370,177)(342,177)(342,233)(314,233)])
}
Add(StrPart,10559579,301,189)
{
Char=";"
Point(Left)
Point(Right)
link(onSplit,3358128:doString,[])
}
Add(HubEx,4584918,469,189)
{
Angle=1
link(onEvent,14204559:doWork1,[])
}
Add(FormatStr,13482478,574,287)
{
DataCount=5
Mask=""
Point(doMask)
link(onFString,14981452:doFromText,[])
}
Add(Hub,6248942,448,294)
{
link(onEvent1,3641262:doData,[])
link(onEvent2,13482478:doString,[(476,307)(476,293)])
}
END_SDK
{
}
BEGIN_SDK
Add(EditMulti,12324586,21,21)
{
WorkCount=2
Width=720
Height=368
link(doWork1,2822035:doBringToFront,[(28,27)(28,34)])
link(doWork2,2822035:doSendToBack,[(28,34)(28,41)])
}
Add(GroupBox,2822035,35,28)
{
Left=35
Top=105
Align=5
Caption="На печать."
Point(doBringToFront)
Point(doSendToBack)
}
Add(Button,7347469,91,77)
{
Left=5
Top=20
Width=90
Caption="Создать HTML"
link(onClick,8056583:doEvent1,[])
}
Add(DoData,682558,210,84)
{
Data=String(<html><head></head><body><h3 align="center" style="color:Tomato">Домашняя бухгалтерия. РАСХОДЫ.</h3> <table lign="center" border="1" width="90%"> <tr><td>Наименование расходов </td><td> Сумма </td></tr> )
link(onEventData,4584918:doWork1,[(473,90)])
}
Add(DoData,5200042,287,252)
{
Data=String(</table></body></html>)
link(onEventData,14204559:doWork3,[(473,258)])
}
Add(Hub,8056583,147,77)
{
OutCount=5
link(onEvent1,7247405:doClear,[(486,83)(486,244)])
link(onEvent2,682558:doData,[])
link(onEvent3,3517164:doEnum,[(177,97)(177,195)])
link(onEvent4,14204559:doWork2,[(170,104)(170,237)])
link(onEvent5,6248942:doEvent1,[(167,111)(167,300)])
}
Add(StrList,7247405,511,231)
{
}
Add(HubEx,14204559,469,231)
{
link(onEvent,7247405:doAdd,[])
}
Add(DoData,3641262,511,294)
{
link(onEventData,13482478:doMask,[])
link(Data,7247405:Text,[])
}
Add(WebBrowser,14981452,658,259)
{
Left=120
Top=15
Width=605
Height=510
Point(doFromText)
Point(doPreview)
}
Add(Button,5676408,511,336)
{
Left=5
Top=50
Width=90
Caption="Печать"
link(onClick,14981452:doPreview,[(651,342)(651,300)])
}
Add(StrList,14624440,217,126)
{
Strings=#8:Вася;230|8:Коля;150|8:Петя;470|8:Витя;100|
}
Add(ArrayEnum,3517164,231,189)
{
@Hint=#20:Подключаешь к своей |21:таблице к точке Array|
link(onItem,10559579:doSplit,[])
link(onEndEnum,5200042:doData,[(275,202)(275,258)])
link(Array,14624440:Array,[])
AddHint(60,-54,131,26,@Hint)
}
Add(FormatStr,3358128,357,189)
{
Mask="<tr><td> %1 </td><td> %2</td></tr>"
link(onFString,4584918:doWork2,[])
link(Str1,10559579:Left,[(363,177)(335,177)(335,233)(307,233)])
link(Str2,10559579:Right,[(370,177)(342,177)(342,233)(314,233)])
}
Add(StrPart,10559579,301,189)
{
Char=";"
Point(Left)
Point(Right)
link(onSplit,3358128:doString,[])
}
Add(HubEx,4584918,469,189)
{
Angle=1
link(onEvent,14204559:doWork1,[])
}
Add(FormatStr,13482478,574,287)
{
DataCount=5
Mask=""
Point(doMask)
link(onFString,14981452:doFromText,[])
}
Add(Hub,6248942,448,294)
{
link(onEvent1,3641262:doData,[])
link(onEvent2,13482478:doString,[(476,307)(476,293)])
}
END_SDK