Add(MainForm,1671965,203,105)
{
Width=865
Height=523
Point(Handle)
Point(onKeyDown)
link(onKeyDown,4521039:doEvent1,[])
}
Add(Switch,9770740,350,133)
{
DataOn=Integer(1)
DataOff=Integer(0)
Default=0
link(onSwitch,4686789:doWork1,[])
}
Add(KeyMask,9733897,287,126)
{
Shift=1
Key=90
link(onTrue,9770740:doSwitch,[])
}
Add(ChildPanel,4686789,413,133)
{
}
BEGIN_SDK
Add(EditMulti,10675107,21,21)
{
WorkCount=2
link(doWork1,13594373:doVisible,[(39,27)(39,41)])
link(doWork2,13594373:doSetFocus,[(39,34)(39,48)])
}
Add(Panel,13594373,56,28)
{
Width=225
Height=205
Point(doVisible)
Point(doSetFocus)
}
Add(Label,9963175,140,91)
{
Left=35
Top=10
Width=128
Height=17
Caption="ПАНЕЛЬ УПРАВЛЕНИЯ"
}
Add(Label,12862444,140,133)
{
Left=10
Top=55
Width=204
Height=17
Caption="Видимость панели управления (Shift+Z)"
}
END_SDK
Add(WebBrowser,2505764,203,161)
{
Width=845
Height=480
URL="https://www.yandex.ru/"
Silent=0
Point(onSetFocus)
Point(onKeyDown)
link(onStatus,14678205:doCase,[])
link(onKeyDown,4521039:doEvent2,[(243,202)(243,139)])
}
Add(Hub,4521039,252,126)
{
InCount=2
OutCount=1
link(onEvent1,9733897:doCheckMask,[])
}
Add(Button,12624949,343,182)
{
Left=225
Visible=1
Point(Handle)
Point(doSetFocus)
}
Add(Case,14678205,287,175)
{
Value=String(Готово)
link(onTrue,12624949:doSetFocus,[])
}
или так
Add(MainForm,1671965,203,105)
{
Width=865
Height=523
Point(Handle)
Point(onKeyDown)
link(onKeyDown,4521039:doEvent1,[])
}
Add(Switch,9770740,350,133)
{
DataOn=Integer(1)
DataOff=Integer(0)
Default=0
link(onSwitch,4686789:doWork1,[])
}
Add(KeyMask,9733897,287,126)
{
Shift=1
Key=90
link(onTrue,9770740:doSwitch,[])
}
Add(ChildPanel,4686789,413,133)
{
}
BEGIN_SDK
Add(EditMulti,10675107,21,21)
{
WorkCount=2
link(doWork1,13594373:doVisible,[(39,27)(39,41)])
link(doWork2,13594373:doSetFocus,[(39,34)(39,48)])
}
Add(Panel,13594373,56,28)
{
Width=225
Height=205
Point(doVisible)
Point(doSetFocus)
}
Add(Label,9963175,140,91)
{
Left=35
Top=10
Width=128
Height=17
Caption="ПАНЕЛЬ УПРАВЛЕНИЯ"
}
Add(Label,12862444,140,133)
{
Left=10
Top=55
Width=204
Height=17
Caption="Видимость панели управления (Shift+Z)"
}
END_SDK
Add(WebBrowser,2505764,203,161)
{
Width=845
Height=480
URL="https://www.yandex.ru/"
Silent=0
Point(onSetFocus)
Point(onKeyDown)
link(onKeyDown,4521039:doEvent2,[(243,202)(243,139)])
}
Add(Hub,4521039,252,126)
{
InCount=2
OutCount=1
link(onEvent1,9733897:doCheckMask,[])
}
Add(Timer,11286526,413,203)
{
Interval=10
Enable=1
AutoStop=1
link(onTimer,12624949:doSetFocus,[(452,209)(452,188)(340,188)(340,202)])
}
Add(Button,12624949,350,196)
{
Left=225
Visible=1
Point(Handle)
Point(doSetFocus)
Point(onKillFocus)
link(onKillFocus,11286526:doTimer,[])
}