Add(EditMulti,87388,35,7)
{
WorkCount=1
Width=1497
Height=284
VOffset=35
link(doWork1,2248024:doEvent1,[])
}
Add(Button,2161577,567,56)
{
Left=372
Top=400
Width=100
Font=[MS Sans Serif,8,1,0,1]
Caption="Отменить"
link(onClick,738125:doEvent3,[])
}
Add(GroupBox,13764384,91,91)
{
Width=717
Height=467
Align=5
Font=[Consolas,11,1,255,204]
Caption=""
Point(doVisible)
Point(doCaption)
Point(doBringToFront)
}
Add(Label,7277622,392,77)
{
Left=151
Top=366
Width=170
Height=20
Font=[MS Sans Serif,8,1,16711680,1]
Caption="Вид спорта :"
AutoSize=1
Alignment=1
}
Add(Edit,7876729,1365,77)
{
Left=326
Top=365
Width=250
Text=""
link(onChange,9359556:doWork2,[(1515,83)(1515,255)(1122,255)(1122,195)])
}
Add(Button,14752056,1176,182)
{
Left=224
Top=400
Width=100
Font=[MS Sans Serif,8,1,0,1]
Enabled=1
Caption="Сохранить"
Point(doEnabled)
link(onClick,440265:doString,[])
}
Add(Hub,2248024,49,42)
{
OutCount=3
link(onEvent1,7282923:doRussianKbd,[(77,48)(77,27)])
link(onEvent2,13059499:doString,[])
link(onEvent3,13764384:doBringToFront,[(77,62)(77,111)])
}
Add(Memory,3053419,1295,77)
{
Default=String(NULL)
link(onData,9359556:doWork1,[(1342,83)(1342,145)(1117,145)(1117,188)])
}
Add(MT_MultiData,12268812,1246,77)
{
link(onData1,3053419:doValue,[])
link(onData2,7876729:doText2,[])
}
Add(FormatStr,2886290,1358,182)
{
DataCount=3
Mask="INSERT OR REPLACE INTO %3 VALUES(%1,'%2');"
link(onFString,1057596:doEvent1,[])
link(Str1,3053419:Value,[(1364,119)(1301,119)])
link(Str2,6515325:Var2,[])
link(Str3,11001159:Var,[(1378,172)(1385,172)])
}
Add(KeyboardLayout,7282923,91,14)
{
}
Add(ChanelToIndex,9359556,1134,182)
{
link(onIndex,14752056:doEnabled,[])
}
Add(FormatStr,440265,1218,182)
{
Mask="SELECT count() FROM %1 WHERE name = '%2';"
link(onFString,9625352:doQuery,[])
link(Str1,11304573:Var,[(1224,175)(1182,175)])
link(Str2,6515325:Var1,[(1231,152)])
}
Add(If_else,8154990,1316,182)
{
Op2=Integer(0)
link(onTrue,2886290:doString,[])
}
Add(SQLite_Query,9625352,1260,182)
{
link(onQuery,8154990:doCompare,[])
link(dbHandle,9810571:Var,[])
}
Add(SQLite_Exec,6647053,1442,182)
{
link(dbHandle,7672073:Var,[])
}
Add(Hub,1057596,1407,182)
{
link(onEvent1,6647053:doExec,[])
link(onEvent2,738125:doEvent2,[(1431,195)(1431,236)(614,236)(614,55)])
}
Add(GlobalVar,9810571,1260,161)
{
Name="dbHandle"
}
Add(GlobalVar,7672073,1442,161)
{
Name="dbHandle"
}
Add(GlobalVar,365381,1204,28)
{
Name="dbHandle"
}
Add(SQLite_Query,8617795,1204,77)
{
link(onQuery,12268812:doSeparateMT,[])
link(dbHandle,365381:Var,[])
}
Add(GlobalVar,2880656,735,28)
{
Name="dbHandle"
}
Add(SQLite_Query,8381975,735,63)
{
link(onQuery,787068:doStr,[])
link(dbHandle,2880656:Var,[])
}
Add(Hub,738125,623,42)
{
InCount=3
OutCount=9
link(onEvent1,11458335:doReset,[(656,48)(656,111)])
link(onEvent3,430223:doString,[])
}
Add(IndexToChanel,7002950,917,70)
{
link(onEvent2,11432908:doPopupHere,[])
}
Add(PopupMenu,11432908,959,77)
{
Menu=#8:Добавить|7:Удалить|8:Изменить|
link(onClick,3990686:doEvent,[])
}
Add(IndexToChanel,3990686,1001,77)
{
Count=3
link(onEvent1,7732782:doWork2,[])
link(onEvent3,13235957:doWork2,[])
}
Add(FormatStr,12990394,1134,77)
{
Mask="SELECT 'NULL','';"
link(onFString,5800538:doEvent1,[])
}
Add(Hub,5800538,1176,77)
{
InCount=2
link(onEvent1,8617795:doQuery,[])
link(onEvent2,11458335:doOn,[(1201,90)(1201,139)(751,139)(751,118)])
}
Add(FormatStr,8167138,1092,84)
{
Mask="SELECT * FROM %1 WHERE id=%2;"
link(onFString,5800538:doEvent2,[])
link(Str1,11506607:Var,[])
}
Add(MT_String,787068,784,63)
{
Mask=""
link(onResult,14934684:doAdd,[])
}
Add(MultiStrData,16412406,1050,84)
{
Count=1
link(Str,14934684:Select,[(1056,72)(972,72)(972,127)(888,127)])
link(onPart1,8167138:doString,[])
}
Add(StringTable,14934684,875,63)
{
Left=140
Top=20
Width=440
Height=330
Grid=0
Redaction=1
Point(doHeight)
Point(onDblClick)
Point(doAddColumn)
Point(doClearAll)
Point(Index)
link(onDblClick,7002950:doEvent,[])
}
Add(GetDataEx,6515325,1365,147)
{
link(Data,7876729:Text,[])
}
Add(Switch,11458335,756,98)
{
DataOn=Integer(250)
DataOff=Integer(500)
Default=0
Point(doOn)
link(onSwitch,14934684:doHeight,[])
}
Add(SQLite_Query,15327116,161,56)
{
link(onQuery,7271526:doEvent1,[])
link(dbHandle,6649494:Var,[])
}
Add(GlobalVar,6649494,161,21)
{
Name="dbHandle"
}
Add(FormatStr,13059499,91,49)
{
Mask="SELECT * FROM panel WHERE id=%1;"
link(onFString,2972608:doEvent1,[])
}
Add(MT_MultiData,14075940,245,56)
{
link(onData1,94697:doSplit,[])
link(onData2,9855103:doValue,[(282,69)(282,83)])
}
Add(GlobalVar,9855103,287,77)
{
Name="IdPanel"
}
Add(MultiStrData,94697,350,56)
{
Char=","
Count=3
link(onPart1,13291311:doValue,[(387,62)(387,27)])
link(onPart2,16718617:doEvent1,[])
link(onPart3,7277622:doText,[(387,76)(387,83)])
}
Add(GlobalVar,13291311,399,21)
{
Name="Table"
}
Add(FormatStr,430223,665,56)
{
Mask="SELECT * FROM %1 ORDER BY name;"
link(onFString,1863327:doEvent1,[])
link(Str1,1053315:Var,[])
}
Add(GlobalVar,1053315,665,21)
{
Name="Table"
}
Add(GlobalVar,11506607,1092,28)
{
Name="Table"
}
Add(GlobalVar,11304573,1176,154)
{
Name="Table"
}
Add(GlobalVar,11001159,1379,147)
{
Name="Table"
}
Add(Hub,16718617,434,63)
{
OutCount=5
link(onEvent2,4184833:doData,[(480,76)(480,90)])
link(onEvent3,16693460:doWork1,[(557,83)])
link(onEvent5,7604652:doSplit,[])
}
Add(DoData,4184833,511,84)
{
Data=String(id=-1)
link(onEventData,16693460:doWork2,[])
}
Add(HubEx,16693460,553,84)
{
Angle=1
link(onEvent,14934684:doAddColumn,[(557,149)(810,149)(810,111)])
}
Add(StrPart,7604652,462,91)
{
Char="="
link(onPart,13764384:doCaption,[(501,104)(501,129)(72,129)(72,104)])
}
Add(Hub,2972608,133,49)
{
link(onEvent1,7299974:doEvent1,[(153,55)(153,160)])
link(onEvent2,15327116:doQuery,[])
}
Add(ChanelToIndex,11022283,791,147)
{
link(onIndex,14934684:doClearAll,[(860,153)(860,118)])
}
Add(Hub,7299974,756,154)
{
OutCount=3
link(onEvent1,11022283:doWork2,[])
link(onEvent2,13217155:doWork3,[(857,167)])
link(onEvent3,11022283:doWork1,[(780,174)(780,153)])
}
Add(Hub,7271526,203,56)
{
link(onEvent1,14075940:doSeparateMT,[])
link(onEvent2,738125:doEvent1,[(227,69)(227,48)])
}
Add(HubEx,13217155,853,70)
{
link(onEvent,14934684:doClear,[])
}
Add(Hub,1863327,707,56)
{
link(onEvent1,13217155:doWork1,[(857,62)])
link(onEvent2,8381975:doQuery,[])
}
Add(Button,13442072,777,182)
{
Left=610
Top=110
Width=75
Height=40
Caption="Удалить"
link(onClick,3500536:doEvent1,[])
}
Add(Button,3961403,994,14)
{
Left=610
Top=55
Width=75
Height=40
Caption="Добавить"
link(onClick,7732782:doWork1,[(1047,20)])
}
Add(HubEx,7732782,1043,77)
{
link(onEvent,12990394:doString,[])
}
Add(Button,8056446,998,165)
{
Left=610
Top=165
Width=75
Height=40
Caption="Изменить"
link(onClick,13235957:doWork3,[(1041,171)])
}
Add(HubEx,13235957,1037,91)
{
Angle=3
link(onEvent,16412406:doSplit,[(1041,90)])
}
Add(DoData,15510803,889,182)
{
link(onEventData,14934684:doDelete,[(933,188)(933,136)(863,136)(863,83)])
link(Data,14934684:Index,[])
}
Add(FormatStr,10477352,903,245)
{
Mask="DELETE FROM panel WHERE id='%1'"
}
Add(Hub,3500536,840,182)
{
link(onEvent1,15510803:doData,[])
link(onEvent2,10477352:doString,[(878,195)(878,251)])
}
Ответов: 72
Рейтинг: 0
|
|||
Вот скрин и схема
|
|||
карма: 0 |
| ||
файлы: 1 | панель справочников.jpg [577.4KB] [741] |