Add(MainForm,7851702,161,147)
{
Width=572
Height=460
Point(onClose)
link(onCreate,11491245:doOpen,[])
link(onClose,11491245:doClose,[])
}
Add(SQLite_DB,11491245,238,161)
{
FileName="notebook.db"
link(onOpen,10758059:doQuery,[])
link(onError,14399684:doMessage,[(292,174)(292,314)])
}
Add(SQLite_Query,34590,630,175)
{
link(onQuery,5426789:doAdd,[])
link(onError,3817780:doMessage,[(688,195)(688,237)])
link(dbHandle,4851005:Var3,[(636,142)])
}
Add(Hub,10580939,602,168)
{
link(onEvent1,5426789:doClear,[(690,174)(690,188)])
link(onEvent2,34590:doQuery,[])
}
Add(FormatStr,12755171,560,168)
{
DataCount=1
Mask="SELECT gf2 FROM note WHERE substr(gf2,1,1)='%1' ORDER BY gf2;"
link(onFString,10580939:doEvent1,[])
}
Add(Message,14399684,308,308)
{
Caption="1 опс"
}
Add(Message,3817780,714,231)
{
Caption="2 опс"
}
Add(SQLite_Query,10758059,315,161)
{
SQL="SELECT DISTINCT substr(gf2,1,1) AS a FROM note ORDER BY a;"
link(onQuery,15144961:doAdd,[])
link(dbHandle,4851005:Var2,[])
}
Add(GetDataEx,4851005,315,137)
{
Angle=3
link(Data,11491245:dbHandle,[(295,142)(295,206)(244,206)])
}
Add(StringTableMT,15144961,406,161)
{
Left=5
Top=5
Width=65
Height=410
Columns=#11:Буква=50==2|
IconsCheck=[]
MiscIcons=[]
Icons=[]
Point(doAddColumn)
Point(Matrix)
Point(Index)
link(onClick,15867393:doWork1,[(450,167)(450,222)(408,222)(408,251)])
}
Add(StringTableMT,5426789,763,175)
{
Left=75
Top=5
Width=475
Height=410
Columns=#19:Наименование=450==2|
TabGrid=0
Grid=0
IconsCheck=[]
MiscIcons=[]
Icons=[]
}
Add(MultiElement,15867393,420,245)
{
link(onEvent1,12755171:doString,[(506,251)(506,174)])
link(Data1,15144961:Matrix,[])
link(Data2,15144961:Index,[])
}
BEGIN_SDK
Add(EditMulti,11107367,21,21)
{
EventCount=1
WorkCount=1
DataCount=2
VarCount=1
Width=223
Height=88
link(doWork1,15249824:doEvent2,[(63,27)(63,62)])
link(Var1,9946774:Value,[(27,95)(202,95)])
}
Add(MatrixRW,15125939,133,49)
{
link(onRead,9946774:doValue,[])
link(Matrix,11107367:Data1,[(139,35)(27,35)])
link(X,15299142:Value,[(153,41)(96,41)(96,89)(48,89)])
link(Y,11107367:Data2,[(160,31)(34,31)])
}
Add(Hub,15249824,105,49)
{
InCount=2
OutCount=1
link(onEvent1,15125939:doRead,[])
}
Add(Memory,15299142,42,49)
{
Default=Integer(0)
link(onData,15249824:doEvent1,[])
}
Add(Memory,9946774,196,49)
{
link(onData,11107367:onEvent1,[(236,55)(236,27)])
}
END_SDK
Ответов: 322
Рейтинг: 8
|
|||
Ещё вариант на основе твоей программы
|
|||
карма: 0 |
|