Add(MainForm,11160845,21,0)
{
Width=373
Height=245
Caption="Text control"
link(onCreate,16538310:doEvent1,[])
}
Add(DocumentTemplate,3449277,133,63)
{
Name="doc"
link(Bitmap,16302917:Bitmap,[])
}
BEGIN_SDK
Add(Print_Text,5788299,126,77)
{
X=129
Y=80
Width=99
Height=25
Text="www.hiasm.com"
Font=[MS Sans Serif,8,4,16711680,1]
}
Add(Print_Text,13825644,7,21)
{
Name="text"
X=10
Y=24
Width=218
Height=46
Text="---"
}
END_SDK
Add(PaintBox,16302917,133,14)
{
Left=40
Top=70
Width=265
Height=105
Color=16777215
ClearBeforeDraw=0
link(onBeforeDraw,3449277:doDraw,[(178,20)(178,54)(121,54)(121,69)])
}
Add(Edit,14267396,0,63)
{
Left=40
Top=30
Width=265
link(onChange,15034064:doEvent1,[])
}
Add(PC_Text,4695198,77,63)
{
ItemName="text"
Document="doc"
FontApply=0
Point(doFont)
Point(doFontApply)
link(onText,5526886:doWork3,[(116,69)])
}
Add(HubEx,5526886,105,7)
{
link(onEvent,16302917:doRefresh,[])
}
Add(Font,9564278,70,126)
{
FontDialog=0
Point(FontName)
Point(FontColor)
Point(FontSize)
Point(FontStyle)
Point(FontStrStyle)
Point(FontCharSet)
link(onFont,4695198:doFont,[(127,132)(127,104)(65,104)(65,76)])
}
Add(Hub,16538310,70,14)
{
link(onEvent2,5526886:doWork2,[(95,27)(95,13)])
}
Add(BitBtn,10104311,42,217)
{
Left=220
Top=5
link(onClick,9564278:doFont,[(86,223)(86,177)(58,177)(58,132)])
}
Add(Hub,15034064,42,63)
{
link(onEvent1,4695198:doFontApply,[(66,69)(66,83)])
link(onEvent2,4695198:doText,[(66,76)(66,69)])
}
Редактировалось 1 раз(а), последний 2019-03-03 16:01:42