------------ Дoбавленo в 11.30:
Правильно делать так:
Add(ChildScrollBox,8015440,427,189)
{
}
BEGIN_SDK
Add(EditMulti,10353752,21,21)
{
WorkCount=1
link(doWork1,3386333:##add,[(87,27)(87,90)])
}
Add(ScrollBox,8098878,161,126)
{
Left=15
Top=65
Width=290
Height=130
Align=5
}
Add(ChildPanelEx,3386333,154,84)
{
Mode=1
}
BEGIN_SDK
Add(EditMultiEx,12455311,21,21)
{
WorkCount=#5:##add|
Point(##add)
}
Add(Panel,8972859,70,105)
{
Width=484
Align=2
}
END_SDK
END_SDK
Add(Menu,16196993,294,189)
{
Menu=#3:нко|
link(onSelectStr,14588083:doWork1,[])
}
Add(ChildForm,14588083,364,189)
{
@Hint=#24:Количество новых билетов|
link(onEvent1,8015440:doWork1,[])
}
BEGIN_SDK
Add(EditMulti,8267164,21,21)
{
EventCount=1
WorkCount=1
Width=342
link(doWork1,10350911:doShowModal,[(109,27)(109,195)])
}
Add(MainForm,10350911,196,161)
{
Left=35
Top=105
Width=255
Height=65
Visible=1
Caption="Сколько?"
BorderStyle=3
TaskBar=1
Point(doShowModal)
}
Add(Edit,12669003,133,42)
{
Left=10
Top=10
Width=135
Text="1"
DataType=1
link(onEnter,10379850:doEvent1,[])
}
Add(Button,14643686,133,98)
{
Left=160
Top=10
Width=70
Caption="ОК"
link(onClick,374828:doEvent2,[])
}
Add(Hub,10379850,189,49)
{
link(onEvent1,12669003:doText2,[(215,55)(215,43)(121,43)(121,55)])
link(onEvent2,374828:doEvent1,[(231,62)(231,97)])
}
Add(Hub,374828,259,91)
{
InCount=2
OutCount=1
link(onEvent1,15879023:doFor,[])
}
Add(For,15879023,301,91)
{
Start=1
link(onEvent,8267164:onEvent1,[(348,97)(348,27)])
link(onStop,10350911:doClose,[(345,104)(345,146)(184,146)(184,188)])
link(End,12669003:Text,[(314,83)(139,83)])
}
END_SDK