------------ Дoбавленo:
Konst...
ПАНЕЛЬКА должна быть динамической..!
------------ Дoбавленo:
Add(MainForm,4916021,98,98)
{
Left=20
Top=105
Position=1
Point(onDblClick)
Point(MouseX)
Point(MouseY)
link(onDblClick,15200769:doEvent1,[])
}
Add(Hub,15200769,154,119)
{
link(onEvent1,16143130:doString,[(222,125)(222,370)])
link(onEvent2,12742939:doAdd,[(310,132)(310,244)])
}
Add(FormatStr,16143130,259,364)
{
Mask="%1;%2"
link(onFString,104125:##add,[])
link(Str1,4916021:MouseY,[(265,247)(111,247)])
link(Str2,4916021:MouseX,[(272,269)(104,269)])
}
Add(HubEx,14889449,476,231)
{
Angle=3
link(onEvent,104125:##select,[(480,227)(331,227)(331,377)])
}
Add(ComboBox,12742939,434,238)
{
Left=330
Top=5
Height=21
link(onClick,14889449:doWork3,[(480,251)])
link(Str,9514069:Var2,[(440,226)(398,226)])
}
Add(DoData,9213571,420,364)
{
link(onEventData,14889449:doWork1,[(497,370)(497,244)])
link(Data,9514069:Var3,[(426,352)])
}
Add(ChildPanelEx,104125,343,364)
{
Mode=1
link(onClick,9213571:doData,[])
}
BEGIN_SDK
Add(EditMultiEx,1554969,21,21)
{
WorkCount=#5:##add|8:##select|
EventCount=#7:onClick|
VarCount=#7:##index|8:##handle|12:##eventIndex|13:##eventHandle|
Width=433
Height=354
Point(##add)
Point(##select)
Point(##index)
Point(##handle)
Point(##eventIndex)
Point(##eventHandle)
link(##add,7681624:doSplit,[(59,27)(59,111)])
link(##select,11676752:doChangeValue,[(55,34)(55,237)])
}
Add(Panel,864940,154,98)
{
Left=235
Top=100
Width=95
Height=100
Point(doLeft)
Point(doTop)
link(onClick,1554969:onClick,[(254,104)(254,27)])
}
Add(StrPart,7681624,98,105)
{
Char=";"
link(onSplit,864940:doLeft,[])
link(onPart,864940:doTop,[])
}
Add(LED,11676752,147,231)
{
Left=30
Top=20
}
END_SDK
Add(GetDataEx,9514069,385,343)
{
Angle=2
link(Data,104125:##eventIndex,[(398,408)(363,408)])
}
Konst
а в КАКОЙ версии работаешm?------------ Дoбавленo:
Add(MainForm,4916021,77,98)
{
Left=20
Top=105
Position=1
Point(onDblClick)
Point(MouseX)
Point(MouseY)
Point(onClose)
link(onCreate,2101009:doEvent1,[(132,118)(132,328)])
link(onDblClick,15200769:doEvent1,[])
link(onClose,4321601:doWork2,[(180,132)(180,314)])
}
Add(Hub,15200769,161,119)
{
OutCount=4
link(onEvent1,7847015:doWork1,[(221,125)])
link(onEvent2,12742939:doAdd,[(345,132)(345,265)])
link(onEvent3,7847015:doWork2,[(208,139)(208,181)])
link(onEvent4,8217898:doWork1,[(212,146)(212,238)(186,238)])
}
Add(FormatStr,16143130,231,252)
{
Mask="%1;%2"
link(onFString,3892828:doAdd,[(275,258)(275,279)])
link(Str1,4916021:MouseY,[(237,205)(90,205)])
link(Str2,4916021:MouseX,[(244,205)(83,205)])
}
Add(HubEx,14889449,476,231)
{
Angle=3
link(onEvent,104125:##select,[(480,227)(331,227)(331,377)])
}
Add(ComboBox,12742939,434,259)
{
Left=330
Top=5
Height=21
link(onClick,14889449:doWork3,[(480,272)])
link(Str,9514069:Var2,[(440,216)(398,216)])
}
Add(DoData,9213571,420,364)
{
link(onEventData,14889449:doWork1,[(497,370)(497,244)])
link(Data,9514069:Var3,[(426,352)])
}
Add(ChildPanelEx,104125,343,364)
{
Mode=1
link(onClick,9213571:doData,[])
}
BEGIN_SDK
Add(EditMultiEx,1554969,21,21)
{
WorkCount=#5:##add|8:##select|
EventCount=#7:onClick|
VarCount=#7:##index|8:##handle|12:##eventIndex|13:##eventHandle|
Width=433
Height=354
Point(##add)
Point(##select)
Point(##index)
Point(##handle)
Point(##eventIndex)
Point(##eventHandle)
link(##add,7681624:doSplit,[(59,27)(59,111)])
link(##select,11676752:doChangeValue,[(55,34)(55,237)])
}
Add(Panel,864940,154,98)
{
Left=235
Top=100
Width=95
Height=100
Point(doLeft)
Point(doTop)
link(onClick,1554969:onClick,[(254,104)(254,27)])
}
Add(StrPart,7681624,98,105)
{
Char=";"
link(onSplit,864940:doLeft,[])
link(onPart,864940:doTop,[])
}
Add(LED,11676752,147,231)
{
Left=30
Top=20
}
END_SDK
Add(GetDataEx,9514069,385,343)
{
Angle=2
link(Data,104125:##eventIndex,[(398,408)(363,408)])
}
Add(StrList,3892828,287,273)
{
FileName="wer"
}
Add(ArrayEnum,3638209,266,364)
{
link(onItem,104125:##add,[])
link(onEndEnum,4321601:doWork3,[(310,377)(310,348)(235,348)])
link(Array,3892828:Array,[(272,345)(307,345)])
}
Add(Hub,2101009,133,322)
{
link(onEvent1,3892828:doLoad,[(230,328)(230,307)])
link(onEvent2,8217898:doWork2,[])
}
Add(HubEx,4321601,231,301)
{
link(onEvent,3892828:doSave,[])
}
Add(HubEx,7847015,217,168)
{
Angle=1
link(onEvent,16143130:doString,[(221,258)])
}
Add(HubEx,8217898,182,322)
{
link(onEvent,3638209:doEnum,[(235,335)(235,370)])
}
------------ Дoбавленo:
что то я сглупил... простите вот последний вариант ..
логика:
1 при вкл загружает базу ..
2 простовляет точки..
3 и (есть возможность одним кликом совершать действия в определённую панель..)
4 отоброжает в названии окна количество панелей...
5 при выкл. сохроняет координаты..!
Add(MainForm,4916021,182,140)
{
Left=20
Top=105
Position=1
Point(onDblClick)
Point(MouseX)
Point(MouseY)
Point(onClose)
link(onCreate,8478234:doEvent1,[(244,160)(244,349)])
link(onDblClick,15200769:doEvent1,[(233,167)(233,195)])
}
Add(Hub,15200769,252,189)
{
OutCount=4
link(onEvent1,16143130:doString,[(357,195)(357,321)])
link(onEvent2,104125:##clear,[(398,202)(398,426)])
link(onEvent3,2693098:doWork1,[(347,209)])
}
Add(FormatStr,16143130,399,315)
{
Mask="%1;%2"
link(onFString,3892828:doAdd,[])
link(Str1,4916021:MouseY,[(405,247)(195,247)])
link(Str2,4916021:MouseX,[(412,247)(188,247)])
}
Add(ArrayEnum,3638209,420,406)
{
link(onItem,104125:##add,[])
link(onEndEnum,3892828:doSave,[(478,419)(478,378)(443,378)(443,356)])
link(Array,3892828:Array,[(426,387)(475,387)])
}
Add(StrList,3892828,455,315)
{
FileName="wer"
}
Add(DoData,9213571,588,406)
{
link(onEventData,104125:##select,[(631,412)(631,465)(499,465)(499,419)])
link(Data,104125:##eventIndex,[(594,394)(562,394)(562,453)(531,453)])
}
Add(ChildPanelEx,104125,511,406)
{
Mode=1
link(onClick,9213571:doData,[])
}
BEGIN_SDK
Add(EditMultiEx,1554969,21,21)
{
WorkCount=#5:##add|8:##select|7:##clear|
EventCount=#7:onClick|
VarCount=#7:##index|8:##handle|12:##eventIndex|13:##eventHandle|7:##count|
Width=433
Height=354
Point(##add)
Point(##select)
Point(##index)
Point(##handle)
Point(##eventIndex)
Point(##eventHandle)
Point(##count)
Point(##clear)
link(##add,7681624:doSplit,[(59,27)(59,111)])
link(##select,11676752:doChangeValue,[(55,34)(55,237)])
}
Add(Panel,864940,154,98)
{
Left=235
Top=100
Width=95
Height=100
Point(doLeft)
Point(doTop)
link(onClick,1554969:onClick,[(254,104)(254,27)])
}
Add(StrPart,7681624,98,105)
{
Char=";"
link(onSplit,864940:doLeft,[])
link(onPart,864940:doTop,[])
}
Add(LED,11676752,147,231)
{
Left=30
Top=20
}
END_SDK
Add(Timer,10915609,84,140)
{
Interval=50
link(onTimer,15689294:doData,[])
}
Add(DoData,15689294,133,140)
{
link(onEventData,4916021:doCaption,[])
link(Data,104125:##count,[(139,98)(370,98)(370,450)(545,450)])
}
Add(Hub,8478234,273,343)
{
link(onEvent1,3892828:doLoad,[])
link(onEvent2,2693098:doWork2,[(324,356)(324,391)])
}
Add(HubEx,2693098,343,378)
{
Angle=1
link(onEvent,3638209:doEnum,[(347,412)])
}
------------ Дoбавленo:
а каким оброзом их можно хотябы пока передвигать.. что то не могу додумать..!