Вверх ↑
Разработчик
Ответов: 26153
Рейтинг: 2127
#1: 2022-02-07 19:43:51 ЛС | профиль | цитата
prostov писал(а):
вы не так поняли я хочу чтобы задний фон тот что за фомой скриншотился, а не сама только форма,

Как-то так:

Схема

Add(MainForm,11788041,462,245)
{
Width=971
Height=352
Position=1
Point(SizeHeader)
Point(Handle)
}
Add(ScreenShort,558996,553,315)
{
UseRegion=1
Color=16776960
Point(Region)
link(onCapture,3179763:doLoad,[])
link(Region,2683450:Result,[])
}
Add(Button,7184611,462,308)
{
Left=395
Top=130
Width=180
Caption="—криншот формы >>>"
link(onClick,7181385:doEvent1,[])
}
Add(Image,3179763,609,315)
{
Left=655
Top=35
Width=215
Height=245
Color=16777215
}
Add(Button,10200492,462,182)
{
Left=510
Top=245
Caption="показать форму"
link(onClick,7408161:doShow,[])
}
Add(RGN_Rect,2683450,560,245)
{
Point2AsOffset=0
link(Point1,7408161:Point1,[])
link(Point2,7408161:Point2,[])
}
Add(ChildFormEx,7408161,560,182)
{
}
BEGIN_SDK
Add(EditMultiEx,9068904,21,21)
{
WorkCount=#6:doShow|
VarCount=#6:Point1|6:Point2|
Width=258
Height=256
link(doShow,1628283:doEvent1,[(32,27)(32,111)])
link(Point1,9033610:Point,[(27,243)(181,243)])
link(Point2,8542371:Point,[(34,250)(223,250)])
}
Add(MainForm,5983969,84,77)
{
Left=35
Top=105
Width=503
Height=404
Visible=1
Ctl3D=0
WinStyle=1
BorderStyle=0
DragForm=0
TransparentColor=0
Position=3
TransparentManager="634"
Point(doVisible)
Point(Handle)
Point(onMove)
link(onMove,13316501:doWork2,[])
}
Add(TransparentManager,1016163,84,161)
{
Name="634"
Picture=[ZIP1AF5060078DAEDDC4B4F1B571880E12F9BFE814A49B81AE30B3609844B6E74D97D7F567F522EA4EAAA5DA48B2CDA45AA3641D026E21E0321254081E99CB101A704A9AB4A460FD2A38F8C6316B3F0AB9973C65F7FD3FFD717917EEEE71AB96FAF45D472D762A438FEF643FBF5EE9FEAC03B000000000080FFAC3EB416CDD1C598A8BD8CA9E68B98B9F51C802BE84EE3E76894DE5EE8C0E860E7F7C18D18AF2CC5ECED1FE28F852C36D7B2D8D9CAB53A73BB6D77ABAD387EFA1A003D65F96D1677C67EF96C13927ADE84DBB5DFE3E1F493585FC962EF6316C75916D9492ECDEC2477D4F9BD73FCEC35007A49EA42BA5ED004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D004013340140133401401334014013340140133401401334014013340140133401401334014013340140133401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D004013340140133401401334014013340140133401401334014013340140133401401334014013340140133401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D0040139C57004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D706E0134411300344113003441130034411300344113003441130034411300344113003441130034411300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004004DD004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D705E0134411300344113003441130034411300344113003441130034411300344113003441130034411300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D004003401004D00401300D0040034C1B905D0044D00D0044D00D0044D00D0044D00D0044D00D0044D00D0044D00D0044D00D0044D00D0044D00401300D004003401004D00401300D004003401004D00401300D00400FEDF266C443535A1FA3A1ECC3C89D5BC09FB1F3FF7D97FE25C025CE126A4168C76346BAFE35E7713520B8EDBD235C371F7DFEC6EC50900BD64A7F5F926A47B46C5F5C2402BC6AB0B674D38EC6EC251BB077F7FD285134D00B8624D68F46D17EA7D3B3139BA140FA7E66373B9D384F4B97FDC7EFF6913DA5D700F09A097ED5E72EFA8D1DF6A3B6DC2F4D37613F6B3F69AF2C9BF9B7052F8E43ED259234CD334CD5E989735A13EBC12D5E1B5625D61BC96D6981FC5FA5A16FB87E9BD0767EF4F3D38ECBA5638BF8F74BA1FC9344DD3EC95B9B37DC9BEA3D2726EE57C8D79F651ACE64DD83B4C9FF9E74DE85E4FE876DE1D007AC5654D280F6D4479309F03DBD1AC2CC5BDE9A7B1BC92C58783F4997F7471FFE9E91AC55176B6D6E0DE1CC0D5584F280FB48A1E8CF6EFC478D184F97613F6DB6B0717FAD2B53FF5AC0900F494DD4BF61DD506B7626C78274A5FAEC4646521BE9A9D2FF6A2BEDFEB5E4F3EEADC473A38BF27D5F57CC2E93D24D3344DB337E6A5CF315F5F8F7A3E2746DEC7546D311E4C7E176F16B3D8DA6E5F2B140EDAEB0B69DD39ED474AFB5493FD8E3DD3344DB3A7E6E65A1653CD17179A3036D88AF1D24E94AFAF46737829A6EBCF63F1D72CDE2E65C5F5C2EA7256DC4B4AEBCE693F52DAA79A14AFE5D63BD231D3344DB337E69B852C266A2F2F34A132B01EA3FD6B51CBDBD02CADC474ED55CC8CFD147353DFC783A9C7717FE659DC9D9D8FFB771FC7C3D9C73137331F73D3CFE2FEECD3C2DC4CAE386E9AA669F6CABC3BF1633447172F7EDF516933AAC3EF6274A8152303AB3159DD8C5B237FC65465A1585F48EF69E49AD5578589F262A159791D8DFCDFB72AF9B1EA6F31619AA669F6CCBC957F8ED787D62E3461E8E65AB11775F0C66A5486B7A27C73BDB88F3459DE8DEACDCD623F52B12FA9F3DDA9E979E7F43D18E9FB914E8FD501E83917AE11D27A42692F866FBE2B7A502BB5A2DCB71A8DA1ADA8F66D147B92520F5233D2736DE979E7F6F7606C9F7DA76AF592BF0B40EF29DFD88DCAC0FB1819D88C52FF4A3446B6DAFDC8AF11AAC5B30BADE2B9B6F4BC733D77DA84E2FF0CAD3B870057C83F3414E435]
}
Add(WinInfo,6575050,161,98)
{
Point(Left)
Point(Top)
Point(Width)
Point(Height)
link(Handle,5983969:Handle,[(167,89)(216,89)(216,138)(90,138)])
}
Add(PointXY,9033610,175,161)
{
link(X,6575050:Left,[])
link(Y,6575050:Top,[])
}
Add(PointXY,8542371,217,161)
{
link(X,6575050:Width,[(223,152)(195,152)])
link(Y,6575050:Height,[(230,145)(202,145)])
}
Add(Hub,1628283,42,105)
{
link(onEvent1,5983969:doVisible,[])
link(onEvent2,13316501:doWork3,[(74,118)(74,125)(137,125)])
}
Add(HubEx,13316501,133,98)
{
link(onEvent,6575050:doWinInfo,[])
}
END_SDK
Add(Hub,7181385,511,308)
{
link(onEvent1,2683450:doCreateRect,[(536,314)(536,251)])
link(onEvent2,558996:doCapture,[])
}


--- Добавлено в 2022-02-07 20:02:52

А вот так с обрезом рамки, но я немного сменил саму рамку:

Схема2


Add(MainForm,11788041,308,217)
{
Width=971
Height=352
Position=1
Point(SizeHeader)
Point(Handle)
}
Add(ScreenShort,558996,399,287)
{
UseRegion=1
Color=16776960
Point(Region)
link(onCapture,3179763:doLoad,[])
link(Region,2683450:Result,[])
}
Add(Button,7184611,308,280)
{
Left=395
Top=130
Width=180
Caption="—криншот формы >>>"
link(onClick,7181385:doEvent1,[])
}
Add(Image,3179763,455,287)
{
Left=655
Top=35
Width=215
Height=245
Color=16777215
}
Add(Button,10200492,308,154)
{
Left=510
Top=245
Caption="показать форму"
link(onClick,7408161:doShow,[])
}
Add(RGN_Rect,2683450,406,217)
{
Point2AsOffset=0
link(Point1,7408161:Point1,[])
link(Point2,7408161:Point2,[])
}
Add(ChildFormEx,7408161,406,154)
{
}
BEGIN_SDK
Add(EditMultiEx,9068904,21,21)
{
WorkCount=#6:doShow|
VarCount=#6:Point1|6:Point2|
Width=307
Height=298
link(doShow,1628283:doEvent1,[(32,27)(32,111)])
link(Point1,9033610:Point,[(27,271)(188,271)])
link(Point2,8542371:Point,[(34,285)(230,285)])
}
Add(MainForm,5983969,84,77)
{
Left=35
Top=105
Width=503
Height=404
Visible=1
Ctl3D=0
WinStyle=1
BorderStyle=0
DragForm=0
TransparentColor=0
Position=3
TransparentManager="656"
Point(doVisible)
Point(Handle)
Point(onMove)
link(onMove,13316501:doWork2,[])
}
Add(WinInfo,6575050,161,98)
{
Point(Left)
Point(Top)
Point(Width)
Point(Height)
link(Handle,5983969:Handle,[(167,89)(216,89)(216,138)(90,138)])
}
Add(PointXY,9033610,182,231)
{
link(X,9152709:reCalc,[(188,222)(153,222)])
link(Y,12115130:reCalc,[])
}
Add(PointXY,8542371,224,231)
{
X=489
Y=339
}
Add(Hub,1628283,42,105)
{
link(onEvent1,5983969:doVisible,[])
link(onEvent2,13316501:doWork3,[(74,118)(74,125)(137,125)])
}
Add(HubEx,13316501,133,98)
{
link(onEvent,6575050:doWinInfo,[])
}
Add(TransparentManager,7029870,140,231)
{
Name="656"
TransparentColor=12829635
Picture=[ZIP66670C0078DAEDD5B10D82401886E1A367084B4A2A06B0770D58C8C64918E01CC4C4C4152CE1309A509940E37979BEE469EEBABF798FA77EA8C3B22E69926715C239A9C2E1F5DEBEFFD7BB8CD70900288B99999995316D373333D376333333D376333333D376333333D3763333336DD7763333336D373333336D373333336D373333336D373333D3766D373333D376333333D376333333D376333333D3763333336DD7763333336D373333336D373333336D373333336D373333D376333333D376333333D376333333D376333333D3763333336D373333336D3733CB6F8FFBCD114CDBB5DDCCB4DD4CDBCDCCCC4CDBCDCCCCECA76DFFFC010079DAD3F618230090216D07006DD77600D0760040DB01006D07006DD77600D0766D07006D0700B41D00D07600D0766D07006D773B00D0760040DB01006D07006DD77600D076B703006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D07006DD77600D0766D07006D0700B41D00D07600D0766D07006D773B00D0760040DB01006D07006DD77600D076B703006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D07006DD77600D0766D07006D0700B41D00D07600D0766D07006D773B00D0760040DB01006D07006DD77600D076B703006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0766D07006D0700B41D00D0760040DB0140DBB51D00B41D00D0760040DB01006D07006DD77600D0760040DB01006D0700B41D00B45DDB0140DB01006D0700B41D00D07600D0F66F7F00409EB6B6DDCCCCCCFE6FDA6E6666A6ED666666A6ED666666A6ED666666A6ED666666DAAEED666666DA6E666666DA6E666666DA6E666666DA6E6666A6EDDA6E6666A6ED666666A6ED666666A6ED666666A6ED666666DAAEED666666DA6E666666DA6E666666DA6E666666DA6E6666A6ED666666A6ED666666A6ED666666A6ED666666A6ED666666DA6E666666DA6E666666DA6E666666DA6E6666665BDB0E009463061CE4C62F]
}
Add(MathParse,9152709,140,168)
{
DataCount=1
MathStr="%1 + 7"
Point(reCalc)
link(X1,6575050:Left,[(146,145)(181,145)])
}
Add(MathParse,12115130,182,168)
{
DataCount=1
MathStr="%1 + 32"
Point(reCalc)
link(X1,6575050:Top,[])
}
END_SDK
Add(Hub,7181385,357,280)
{
link(onEvent1,2683450:doCreateRect,[(382,286)(382,223)])
link(onEvent2,558996:doCapture,[])
}
карма: 22

1
Голосовали:prostov
Редактировалось 2 раз(а), последний 2022-02-07 20:02:52