Вверх ↑
Ответов: 824
Рейтинг: 138
#1: 2014-03-27 01:57:13 ЛС | профиль | цитата
г. ость, Спасибо. +
------------ Дoбавленo в 01.57:
Add(ChildPanelEx,4928606,42,49)
{
link(onRead,16719039:doAdd,[])
link(onEvent1,16719039:doClear,[])
link(onEvent2,9654296:doEvent1,[(130,69)(130,139)])
}
BEGIN_SDK
Add(EditMultiEx,15919217,21,21)
{
EventCount=#6:onRead|8:onEvent1|8:onEvent2|
}
Add(Panel,13117002,35,168)
{
Left=5
Top=5
Width=300
Height=450
Layout="parent.sloy_2"
WidthScale=20
HeightScale=50
BorderWidth=0
BevelInner=0
}
Add(Button,16735809,42,104)
{
Left=15
Top=15
Width=75
Caption="Send Query"
link(onClick,1300320:doEvent1,[])
}
Add(TCP_Client,13825729,154,111)
{
Port=80
IP="146.0.13.173"
link(onRead,15919217:onRead,[(200,117)(200,27)])
link(onConnect,15124829:doOn,[(235,124)(235,138)])
link(onDisconnect,14679050:doEvent1,[])
link(Data,263608:Text,[])
}
Add(Hub,1300320,105,104)
{
OutCount=3
link(onEvent1,15919217:onEvent1,[(130,110)(130,34)])
link(onEvent2,13825729:doOpen,[])
link(onEvent3,13825729:doSend,[(144,124)(144,131)])
}
Add(LED,15124829,252,118)
{
Left=110
Top=15
}
Add(RichEdit,263608,161,49)
{
Left=5
Top=50
Width=295
Height=405
Align=4
Layout="sloy_1"
WidthScale=100
HeightScale=95
Strings=#14:GET / HTTP/1.0|20:Host: ts5.travian.ru|84:User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0|71:Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8|52:Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3|24:Cache-Control: max-age=0|0:|0:|
}
Add(Hub,14679050,203,125)
{
link(onEvent1,15124829:doOff,[])
link(onEvent2,15919217:onEvent2,[(228,138)(228,41)])
}
Add(LayoutSpacer,183940,56,28)
{
Left=150
Layout="sloy_1"
}
Add(VBoxLayout,14566256,175,168)
{
Name="sloy_1"
}
END_SDK
Add(MainForm,6678,42,98)
{
Left=312
Top=322
Width=1017
Height=662
Caption="Пример TCP"
Position=1
Point(onClose)
}
Add(WebBrowser,6707651,404,155)
{
Left=355
Top=5
Width=1120
Height=455
Color=-16777211
Ctl3D=0
Layout="sloy_2"
WidthScale=80
HeightScale=50
Silent=0
Point(doFromText)
}
Add(Hub,9654296,140,133)
{
link(onEvent1,15208652:doSearch,[])
link(onEvent2,12616966:doSearch,[(179,146)(179,188)])
}
Add(Charset,12513897,287,140)
{
Type=7
link(onCharset,4567434:doAdd,[])
}
Add(GetDataEx,9455703,189,105)
{
link(Data,16719039:Text,[])
}
Add(Hub,707067,252,133)
{
link(onEvent1,4567434:doClear,[(334,139)(334,154)])
link(onEvent2,12513897:doCharset,[])
}
Add(RichEdit,4242607,348,196)
{
Left=355
Top=465
Width=1120
Height=365
Ctl3D=0
Layout="sloy_2"
WidthScale=80
HeightScale=50
ScrollBars=3
}
Add(BlockFind,12616966,189,182)
{
StartBlock="<!"
EndBlock="html>"
link(onSearch,2445876:doEvent1,[])
link(Text,9455703:Var2,[])
}
Add(StrList,16719039,188,49)
{
}
Add(BlockFind,15208652,210,133)
{
StartBlock="HTTP"
EndBlock="

"
link(onSearch,707067:doEvent1,[])
link(Text,9455703:Var3,[(216,110)])
}
Add(Charset,4263499,287,196)
{
Type=7
link(onCharset,4242607:doAdd,[])
}
Add(Hub,2445876,245,182)
{
OutCount=3
link(onEvent1,6707651:doFromText,[])
link(onEvent2,4242607:doClear,[(337,195)(337,209)])
link(onEvent3,4263499:doCharset,[])
}
Add(RichEdit,4567434,350,141)
{
Left=5
Top=465
Width=295
Height=360
Layout="sloy_2"
WidthScale=20
HeightScale=50
ModeSp=1
}
Add(GridLayout,13791296,42,147)
{
Name="sloy_2"
Space=5
Padding=5
Rows=2
Cols=2
AddMode=1
}


карма: 1

0