Вверх ↑
Ответов: 167
Рейтинг: 1
#1: 2025-06-18 03:09:03 ЛС | профиль | цитата
Есть задача организовать предпросмотр перед печатью листа А4. Но экран маленкий. как сделать полосы прокрутки, чтоб можно было посмотреть, что там внизу))?

Add(MainForm,12413584,126,154)
{
Width=567
Height=457
Caption="Calendar"
}
Add(DocumentTemplate,15557505,364,147)
{
Name="MainPage"
link(Bitmap,13572165:Bitmap,[(370,135)(404,135)(404,190)(272,190)])
}
BEGIN_SDK
Add(Print_Shape,10271985,44,176)
{
X=47
Y=179
Width=127
Height=25
Type=2
BackStyle=0
}
Add(Print_Text,565839,56,180)
{
Name="time"
X=59
Y=183
Width=106
Height=18
Text="---"
}
Add(Print_Table,15348492,32,216)
{
Name="mtable"
X=35
Y=219
Width=154
Height=154
Columns=#7:пн|21|1|7:вт|21|1|7:ср|21|1|7:чт|21|1|7:пт|21|1|7:сб|21|1|7:вс|21|1|0:|
RowHeight=20
Spacing=1
TableTrans=0
TBorderStyle=5
HeadFont=[Comic Sans MS,10,1,0,1]
HeadBackColor=12303291
Cells=#0:|0:|0:|0:|0:|0:|0:|
CellBackColor=15658734
}
Add(Print_Shape,11386331,303,99)
{
X=306
Y=102
Width=127
Height=25
Type=2
BackStyle=0
}
Add(Print_Text,5134495,315,103)
{
Name="time"
X=318
Y=106
Width=106
Height=18
Text="---"
}
Add(Print_Table,2712665,291,139)
{
Name="mtable"
X=294
Y=142
Width=154
Height=154
Columns=#7:пн|21|1|7:вт|21|1|7:ср|21|1|7:чт|21|1|7:пт|21|1|7:сб|21|1|7:вс|21|1|0:|
RowHeight=20
Spacing=1
TableTrans=0
TBorderStyle=5
HeadFont=[Comic Sans MS,10,1,0,1]
HeadBackColor=12303291
Cells=#0:|0:|0:|0:|0:|0:|0:|
CellBackColor=15658734
}
Add(Print_Shape,3296365,65,407)
{
X=68
Y=410
Width=127
Height=25
Type=2
BackStyle=0
}
Add(Print_Text,3606553,77,411)
{
Name="time"
X=80
Y=414
Width=106
Height=18
Text="---"
}
Add(Print_Table,1491654,53,447)
{
Name="mtable"
X=56
Y=450
Width=154
Height=154
Columns=#7:пн|21|1|7:вт|21|1|7:ср|21|1|7:чт|21|1|7:пт|21|1|7:сб|21|1|7:вс|21|1|0:|
RowHeight=20
Spacing=1
TableTrans=0
TBorderStyle=5
HeadFont=[Comic Sans MS,10,1,0,1]
HeadBackColor=12303291
Cells=#0:|0:|0:|0:|0:|0:|0:|
CellBackColor=15658734
}
Add(Print_Shape,6883789,114,22)
{
X=117
Y=25
Width=127
Height=25
Type=2
BackStyle=0
}
Add(Print_Text,4138273,126,26)
{
Name="time"
X=129
Y=29
Width=106
Height=18
Text="---"
}
Add(Print_Table,3020489,102,62)
{
Name="mtable"
X=105
Y=65
Width=154
Height=154
Columns=#7:пн|21|1|7:вт|21|1|7:ср|21|1|7:чт|21|1|7:пт|21|1|7:сб|21|1|7:вс|21|1|0:|
RowHeight=20
Spacing=1
TableTrans=0
TBorderStyle=5
HeadFont=[Comic Sans MS,10,1,0,1]
HeadBackColor=12303291
Cells=#0:|0:|0:|0:|0:|0:|0:|
CellBackColor=15658734
}
Add(Print_Shape,14740521,401,351)
{
X=404
Y=354
Width=127
Height=25
Type=2
BackStyle=0
}
Add(Print_Text,2488425,413,355)
{
Name="time"
X=416
Y=358
Width=106
Height=18
Text="---"
}
Add(Print_Table,12135581,389,391)
{
Name="mtable"
X=392
Y=394
Width=154
Height=154
Columns=#7:пн|21|1|7:вт|21|1|7:ср|21|1|7:чт|21|1|7:пт|21|1|7:сб|21|1|7:вс|21|1|0:|
RowHeight=20
Spacing=1
TableTrans=0
TBorderStyle=5
HeadFont=[Comic Sans MS,10,1,0,1]
HeadBackColor=12303291
Cells=#0:|0:|0:|0:|0:|0:|0:|
CellBackColor=15658734
}
Add(Print_Shape,11588712,331,582)
{
X=334
Y=585
Width=127
Height=25
Type=2
BackStyle=0
}
Add(Print_Text,678194,343,586)
{
Name="time"
X=346
Y=589
Width=106
Height=18
Text="---"
}
Add(Print_Table,14382665,319,622)
{
Name="mtable"
X=322
Y=625
Width=154
Height=154
Columns=#7:пн|21|1|7:вт|21|1|7:ср|21|1|7:чт|21|1|7:пт|21|1|7:сб|21|1|7:вс|21|1|0:|
RowHeight=20
Spacing=1
TableTrans=0
TBorderStyle=5
HeadFont=[Comic Sans MS,10,1,0,1]
HeadBackColor=12303291
Cells=#0:|0:|0:|0:|0:|0:|0:|
CellBackColor=15658734
}
Add(Print_Shape,995695,156,771)
{
X=159
Y=774
Width=127
Height=25
Type=2
BackStyle=0
}
Add(Print_Text,13203889,168,775)
{
Name="time"
X=171
Y=778
Width=106
Height=18
Text="---"
}
Add(Print_Table,15144335,144,811)
{
Name="mtable"
X=147
Y=814
Width=154
Height=154
Columns=#7:пн|21|1|7:вт|21|1|7:ср|21|1|7:чт|21|1|7:пт|21|1|7:сб|21|1|7:вс|21|1|0:|
RowHeight=20
Spacing=1
TableTrans=0
TBorderStyle=5
HeadFont=[Comic Sans MS,10,1,0,1]
HeadBackColor=12303291
Cells=#0:|0:|0:|0:|0:|0:|0:|
CellBackColor=15658734
}
END_SDK
Add(Button,9618318,189,147)
{
Left=15
Top=10
Caption="View"
link(onClick,13572165:doRefresh,[])
}
Add(PC_Text,8750585,315,147)
{
ItemName="time"
Document="MainPage"
link(onText,15557505:doDraw,[])
link(Text,2872526:EditText,[])
}
Add(PaintBox,13572165,266,147)
{
Left=15
Top=70
Width=535
Height=340
Color=16777215
Layout="horz"
WidthScale=100
HeightScale=100
ClearBeforeDraw=0
link(onBeforeDraw,8750585:doText,[])
}
Add(ComboBox,2872526,301,91)
{
Left=80
Top=10
Width=170
Height=21
Strings=#6:Январь|7:Февраль|4:Март|6:Апрель|3:Май|4:Июнь|4:Июль|6:Август|8:Сентябрь|7:Октябрь|6:Ноябрь|7:Декабрь|
ReadOnly=0
Point(EditText)
}

карма: 1

0