andrestudio писал(а): theSever, очень много букв и не одной схемы. Мне более чем очевидно что решение своей задачи Вы перекладываете на отзывчивых профессионалов, как минимум не деликатно. (хотелось бы увидеть Ваши попытки, тогда можно вносить коррективы) Эм, это уже вопрос четвертый по этой схеме, так что не думал что ее нужно цеплять к каждому. Вот теперь возникли проблемы. 1. Течет верстка (в смысле лаяуты при открытии данных в дочерней форме) 2. Вкладки заполняются как попало. Форма вызывается двойным кликом по строке или кнопкой опен. (Автозаполнение таблицы данными при создании базы сделано.) Make(delphi) ver(4.05 build 186) Add(MainForm,2953706,35,14) { Width=1060 Height=547 Color=12632256 Caption="Book" Position=1 link(onCreate,4362848:doEvent1,[]) } Add(Menu,126380,147,105) { Menu=#4:Файл|1:(|12:Открыть базу|12:Создать базу|12:Экспорт базы|1:-|5:Выход|1:)|8:Редактор|1:(|15:Создать таблицу|21:Переименовать таблицу|15:Удалить таблицу|1:)| Point(onSelectNum) link(onSelectNum,2345105:doEvent,[]) } Add(IndexToChanel,2345105,203,112) { Count=18 link(onEvent2,12785880:doWork2,[]) link(onEvent3,8661489:doWork1,[]) link(onEvent6,2953706:doClose,[(247,153)(247,97)(23,97)(23,41)]) link(onEvent8,7187292:In,[(254,167)(254,174)]) link(onEvent9,3168787:In,[(251,174)(251,195)]) link(onEvent10,2431572:In,[(251,181)(251,216)]) } Add(StyleXP,8902755,1449,14) { } Add(HBoxLayout,233818,1505,14) { Name="nem1" WidthScale=100 HeightScale=100 } Add(ToolBar,5484123,133,420) { Left=30 Top=43 Width=40 Height=330 Color=-16777211 Font=[MS Sans Serif,9,0,16777215,1] HintManager="Menu1" Layout="nem4" HeightScale=100 Buttons=['Add'=[ZIP3604000078DAD5523D8F824010F5926B314762E88C870D078186C242BBEB2F586B6BE850FE01606D698776FA13FC1F6A4D47ACEC508142793A7BE6627259EF23B9E25E32D9ECCEBEC9CC7BF3FAD6782C31342EF17289A76B3C949EDF13D7FC2DF08F70381C309BCD1045D18FB95996C1F33C88A288F97CFE2B6EB95C6627DD79FF168B051CC741A7D381EFFB58AFD7188D461004E12E77B7DBC1755D542A15349B4DB4DB6DA8AA8A6AB50AD334598D344DB93D8EC763489284C96482FD7E8FD3E984CD66835EAF875AAD86E572C9E526498256AB05DBB619EF16711C43D334360B0FF4A75EAF230CC34FB9E3F108CBB2D0ED76B9FCED760BC330100401B7B77EBFCFE5174581C160C0F45AAD561FEF340BE941BA902FF7403B45BA2B8A82E17088E974CAF4203FC8973CCFBFDC13AA417DEABA0E5996593DF285BCFD2EA867D28334A5D9FF1A676DC38B4C],'Open'=[ZIP3610000078DAED57BB8A2251109D854530504610337135717D25061368B699C1A2A1682A663E0231F501668289999AE927F81F6AAC910882996FF07176CE9D71E89DF5F6CE0EDB3D2C6B4121EDBD55E7D4A9EADBDDDFBE3F7CBE13F6F0E85F1FFDFED93FDD7D795A785E571AFE21DB6C36E876BB188FC77F1CBBDBED502A9560B158D0EBF5DE156B369BC52FAF65FBFAFD3E32990C128904CAE53246A311EAF53A4C26936AEC6AB5423E9F87D56A452814422C1683C7E381DD6E4730181439B6DBAD9463B3D984CD6643BBDDC67ABDC6E974C26C36432A9582C3E1C0603090C62E974B84C361A4D36911A7B4E9740AAFD72B6A9119F7B85C2EB45AAD5FD68EC723A2D12892C9A4347EB158201008A052A948B965B35969FCF97C462E97137A0D87C397FF590BF5A02EEC8B9A71A6A8BBDBED46B55A45A7D3117AB01FECCB7EBFFFED9C300779FAFD7E389D4E918F7D616FDF6AE44C3DA8296BFF1F8D9AC5E3F19FBCD168A8CEFFDF34E2F16854BAD16814F7AF1E3DB986AFE4A0B50E327CBD38A8E1EBC181F3478C8FE2C09C3C6F3F9A0373DF38DC38DC38BC8F03DF55B5B0B770884422984C26381C0EC2F5E470C1E69E5AAD26CE32BD7AA1ACFB7286EA350FD7B095F3402DB4EA0567EDA2B9ECD9E1F3F9309FCF357B6E5FABFBE2068301C5625193FA95F8D4F8353EB1F97DA0C7BBDBEB99D4135BC9A15028080EFCFE53C3FE01AA32643F]] Point(doAlign) link(onClick,11214765:doEvent,[]) } Add(IndexToChanel,11214765,182,420) { Count=6 link(onEvent2,2455597:doWork2,[(457,433)(457,692)]) } Add(Hub,4362848,91,28) { link(onEvent1,12785880:doWork1,[(301,34)(301,118)]) link(onEvent2,89786:doData,[(110,41)(110,237)(58,237)(58,433)]) } Add(VBoxLayout,12770978,1589,14) { Name="Nem2" Layout="nem1" } Add(MultiElementEx,14837064,1036,196) { @Hint=#26:Чтение содержимого таблицы| link(onEvent1,7647794:doWork3,[(1087,202)]) link(onClear,15833769:doAddRow,[]) link(dbHandle,5426466:Var3,[(1042,139)(872,139)(872,227)]) link(Str1,1803947:Var3,[(1049,177)]) } BEGIN_SDK Add(EditMultiEx,9691955,3,40) { WorkCount=#8:doEvent1| EventCount=#8:onEvent1|7:onClear|6:onItem| DataCount=#8:dbHandle|4:Str1| Width=189 Height=216 link(doEvent1,14363536:doEvent1,[(40,46)(40,48)]) } Add(Message,11311690,126,210) { } Add(EventFromData,12165874,77,105) { link(onEvent,11174548:doString,[(116,111)(116,94)(15,94)(15,111)]) } Add(MT_Enum,13192474,126,168) { link(onItem,9691955:onItem,[(181,174)(181,60)]) } Add(SQLite_Query,7689105,70,161) { link(onQuery,9691955:onClear,[(147,167)(147,53)]) link(onColumns,13192474:doEnum,[]) link(onError,11311690:doMessage,[(114,181)(114,216)]) link(dbHandle,9691955:dbHandle,[(76,147)(9,147)]) link(SQL,12165874:GetData,[]) } Add(Hub,14363536,77,42) { link(onEvent1,9691955:onEvent1,[(141,48)(141,46)]) link(onEvent2,7689105:doQuery,[(118,55)(118,84)(60,84)(60,167)]) } Add(FormatStr,11174548,21,105) { DataCount=1 Mask="select id,color,dat,name,description from %1;" link(onFString,12165874:doData,[]) link(Str1,9691955:Str1,[(27,66)(16,66)]) } END_SDK Add(VBoxLayout,933116,1631,14) { Name="Name3" Space=1 WidthScale=100 HeightScale=100 Layout="nem1" } Add(VBoxLayout,4121172,1547,14) { Name="nem4" Layout="nem1" } Add(Memory,7473735,70,378) { @Hint=#15:Состояние хоста| Default=Integer(3) } Add(DoData,89786,70,427) { link(onEventData,5484123:doDisable,[]) link(Data,7473735:Value,[]) } Add(HBoxLayout,6215916,1673,14) { Name="Name6" WidthScale=100 Layout="Name3" } Add(MultiElement,12785880,504,112) { @Hint=#12:Открыть базу| link(onEvent1,1247631:doCompare,[(569,118)(569,48)]) link(onEvent2,446430:doEvent1,[]) link(onEvent3,12835912:doEvent1,[(551,132)(551,160)]) link(onEvent4,15085619:doWork3,[(683,139)]) } BEGIN_SDK Add(EditMulti,7931541,21,21) { EventCount=4 WorkCount=3 VarCount=1 Width=986 Height=697 link(doWork1,5838324:doRead,[(291,27)(291,195)]) link(doWork2,3173665:doExecute,[(263,34)(263,230)]) link(doWork3,5465119:doEvent2,[(287,41)(287,321)]) link(Var1,4607395:Var1,[(27,306)]) } Add(SQLite_DB,11159260,637,259) { link(onOpen,11218501:doWork3,[(718,265)]) link(FileName,12084681:Value,[(643,240)(685,240)]) } Add(Hub,11511944,553,266) { InCount=3 OutCount=3 link(onEvent1,11159260:doOpen,[(602,272)(602,265)]) link(onEvent2,5465119:doEvent1,[(585,279)(585,314)]) } Add(SQLite_Query,4760132,637,322) { SQL="select name from sqlite_master where type='table'" link(onQuery,7931541:onEvent1,[(838,328)(838,27)]) link(dbHandle,4607395:Var2,[]) } Add(Memory,13855204,637,364) { Default=Integer(0) link(onData,7931541:onEvent3,[(838,370)(838,41)]) } Add(ODialog,3173665,504,224) { Filter="SQLite files(*.db)|*.db" StartDir="" FileName="" link(onExecute,7850340:doEvent1,[]) } Add(Registry,5838324,560,189) { HKey=1 Key="hiasm_prog" Value="dbname" link(onRead,3111878:doWork1,[(627,195)]) } Add(HubEx,3111878,623,203) { link(onEvent,12084681:doValue,[(654,209)(654,188)]) } Add(Hub,7850340,553,224) { OutCount=4 link(onEvent1,16707598:doWork2,[]) link(onEvent2,3111878:doWork2,[(607,237)(607,209)]) link(onEvent3,11218501:doWork2,[]) link(onEvent4,11511944:doEvent2,[(595,251)(595,261)(543,261)(543,279)]) } Add(HubEx,16707598,602,224) { link(onEvent,11159260:doClose,[(615,230)(615,272)]) } Add(HubEx,11218501,714,238) { link(onEvent,7931541:onEvent2,[(864,244)(864,34)]) } Add(Memory,12084681,679,182) { @Hint=#15:Состояние хоста| link(onData,5838324:doWrite,[(734,188)(734,153)(548,153)(548,202)]) } Add(GetDataEx,4607395,637,301) { link(Data,11159260:dbHandle,[]) } Add(Hub,5465119,602,308) { InCount=2 OutCount=3 link(onEvent1,7931541:onEvent4,[(815,314)(815,48)]) link(onEvent2,4760132:doQuery,[(630,321)(630,328)]) link(onEvent3,13855204:doClear,[(626,328)(626,377)]) } END_SDK Add(MTStrTbl,3870454,868,308) { Left=345 Top=120 Width=382 Height=268 Ctl3D=1 Name="mtst" Layout="Name3" WidthScale=100 HeightScale=100 Columns=#5:id=50|8:Цвет=100|8:Дата=100|16:Наименование=100|15:Комментарий=200| ColumnClick=1 ColorItems=0 HeaderDragDrop=0 Grid=0 DrawManager="draw" Point(onMouseDown) Point(onDblClick) link(onMouseDown,5373490:doEvent,[(919,342)(919,356)]) link(onDblClick,15292358:doEvent,[(919,349)(919,405)]) } Add(MST_DB,15833769,1106,203) { MSTControl="mtst" } Add(MST_Clear,12587058,1106,140) { MSTControl="mtst" } Add(Hub,446430,595,119) { OutCount=4 link(onEvent1,15085619:doWork2,[]) link(onEvent2,7647794:doWork2,[(791,132)(791,160)]) link(onEvent3,4003005:doWork2,[(651,139)(651,398)]) link(onEvent4,4003005:doWork1,[(638,146)(638,391)]) } Add(HubEx,7647794,1083,154) { Angle=3 link(onEvent,12587058:doClear,[(1087,146)]) } Add(StrMask,1247631,616,42) { Mask="sqlite_sequence" link(onFalse,6415163:doAdd,[(730,48)(730,76)]) } Add(ChanelToIndex,8364307,756,385) { Count=4 Point(Data) } Add(MultiElement,4003005,693,385) { link(onEvent1,8364307:doWork1,[]) link(Data1,16462417:Var2,[]) } BEGIN_SDK Add(EditMulti,15484145,21,21) { EventCount=2 WorkCount=2 DataCount=1 Width=573 Height=501 link(doWork1,8010826:doQuery,[(70,27)(70,125)]) link(doWork2,245503:doData,[(117,34)(117,170)(86,170)(86,307)]) } Add(SQLite_Query,8010826,119,119) { SQL="select seq from sqlite_sequence" link(onQuery,4574450:doStr,[]) link(dbHandle,15484145:Data1,[(125,70)(27,70)]) } Add(MT_String,4574450,175,119) { link(onResult,16656046:doOperation,[]) } Add(Math,16656046,238,119) { link(onResult,3167:doWork3,[(282,125)(282,97)(233,97)]) link(Op2,4478878:Value,[]) } Add(Memory,4478878,245,63) { @Hint=#15:Состояние хоста| link(onData,298401:doStrCat,[(299,69)(299,132)]) } Add(StrCat,298401,322,126) { Str1="Всего сайтов: " link(onStrCat,15484145:onEvent1,[(354,132)(474,132)(474,27)]) link(Str2,16656046:Result,[(335,114)(289,114)(289,163)(244,163)]) } Add(DoData,245503,98,301) { link(onEventData,3167:doWork2,[(180,307)(180,76)]) link(Data,12144983:Value,[]) } Add(Memory,12144983,98,252) { @Hint=#15:Состояние хоста| } Add(HubEx,3167,229,70) { Angle=3 link(onEvent,4478878:doValue,[(233,69)]) } END_SDK Add(GetDataEx,16462417,693,222) { Angle=3 link(Data,1686382:Var3,[]) } Add(ChildFormEx,16224631,1624,378) { @Hint=#15:Коротка справка| link(onClick,7935593:doWork1,[(1682,384)(1682,405)]) link(onEvent2,13298291:In,[(1675,391)(1675,440)]) } BEGIN_SDK Add(EditMultiEx,5537328,3,3) { WorkCount=#14:doVisible=Help| EventCount=#7:onClick|8:onEvent2| VarCount=#4:Text| DataCount=#8:dbHandle| Width=573 Height=368 link(doVisible,16025488:doVisible,[(51,9)(51,55)]) link(Text,4559469:Text,[(9,254)(139,254)]) } Add(MainForm,16025488,98,21) { Left=35 Top=105 Width=318 Height=134 Visible=1 Caption="Создать таблицу" BorderStyle=3 Position=1 Point(doVisible) } Add(Edit,4559469,133,105) { Left=10 Top=40 Layout="creatdb" WidthScale=100 Text="Database_1" } Add(Button,13252006,182,224) { Left=10 Top=70 Height=40 Layout="creatdb2" WidthScale=50 Caption="Добавить" link(onClick,7362876:doEvent1,[]) } Add(Button,8057943,21,203) { Left=75 Top=70 Height=40 Layout="creatdb2" WidthScale=50 Caption="Отмена" link(onClick,8459428:doWork3,[(75,209)]) } Add(VBoxLayout,9619120,371,28) { Name="creatdb" Space=5 Padding=10 } Add(HBoxLayout,3403492,420,28) { Name="creatdb2" WidthScale=100 Layout="creatdb" } Add(Label,3655209,203,21) { Left=25 Top=15 Layout="creatdb" Caption="Имя новой таблицы" } Add(Hub,7362876,231,224) { OutCount=3 link(onEvent1,5537328:onClick,[(351,230)(351,9)]) link(onEvent2,5537328:onEvent2,[(400,237)(400,16)]) link(onEvent3,8459428:doWork1,[(257,244)(257,69)]) } Add(HubEx,8459428,71,63) { Angle=3 link(onEvent,16025488:doClose,[(75,48)]) } END_SDK Add(GetDataEx,15454577,539,222) { Angle=3 link(Data,12785880:Var1,[(510,227)]) } Add(Hub,12835912,707,154) { link(onEvent1,6415163:doSelect,[(767,160)(767,118)]) link(onEvent2,13860672:doWork2,[]) } Add(HubEx,13860672,859,161) { Angle=1 link(onEvent,14837064:doEvent1,[(863,202)]) } Add(HubEx,15085619,679,119) { link(onEvent,6415163:doClear,[(749,125)(749,83)]) } Add(MultiElement,7935593,1764,399) { link(Data1,14971607:Var,[]) link(Data2,16224631:Text,[(1777,387)(1686,387)(1686,422)(1630,422)]) } BEGIN_SDK Add(EditMulti,7050110,21,21) { WorkCount=1 DataCount=2 link(doWork1,1921348:doExec,[(87,27)(87,153)]) } Add(SQLite_Exec,1921348,154,147) { link(dbHandle,7050110:Data1,[(160,84)(27,84)]) link(SQL,2680029:GetData,[]) } Add(EventFromData,2680029,161,84) { link(onEvent,9582977:doString,[(200,90)(200,73)(99,73)(99,90)]) } Add(FormatStr,9582977,105,84) { DataCount=1 Mask="CREATE TABLE %1 (\r\nid INTEGER PRIMARY KEY AUTOINCREMENT NULL,\r\ncolor TEXT NULL,\r\ndat TEXT NULL,\r\nreiting TEXT NULL,\r\ndescription TEXT NULL\r\n);" link(onFString,2680029:doData,[]) link(Str1,7050110:Data2,[(111,52)(34,52)]) } END_SDK Add(FormatStr,13282791,1624,231) { DataCount=1 Mask="Вы действительно хотите удалить таблицу %1?" Point(FString) link(onFString,9463827:doMessage,[(1668,237)(1668,269)(1612,269)(1612,300)]) link(Str1,6012222:Var2,[]) } Add(Message,9463827,1624,294) { Caption="Удалить таблицу" Type=1 link(onMessage,11571520:doCompare,[]) link(Message,13282791:FString,[]) } Add(GetDataEx,4896060,784,172) { Angle=3 link(Data,8057104:Var3,[]) } Add(StrMask,11571520,1666,294) { Mask="2" link(onFalse,11473775:doWork1,[]) } Add(MultiElement,8661489,280,126) { @Hint=#12:Создать базу| } BEGIN_SDK Add(EditMulti,9260860,21,21) { WorkCount=1 Width=475 Height=277 link(doWork1,14546571:doExecute,[(53,27)(53,90)]) } Add(SQLite_Exec,15601423,238,84) { SQL="CREATE TABLE DB_1 (\r\nid INTEGER PRIMARY KEY AUTOINCREMENT NULL,\r\ncolor TEXT NULL,\r\ndat TEXT NULL,\r\nname TEXT NULL,\r\ndescription TEXT NULL\r\n);\r\nINSERT INTO "DB_1" VALUES(1,'color1','21:01:2018-21:09','name1','description1');\r\nINSERT INTO "DB_1" VALUES(2,'color2','21:01:2018-21:09','name2','description2');\r\nINSERT INTO "DB_1" VALUES(3,'color3','21:01:2018-21:09','name3','description3');\r\nINSERT INTO "DB_1" VALUES(4,'color4','21:01:2018-21:09','name4','description4');\r\nINSERT INTO "DB_1" VALUES(5,'color5','21:01:2018-21:09','name5','description5');" } Add(SDialog,14546571,84,84) { Filter="SQLite files(*.db)|*.db" FileName="book.db" link(onExecute,11481450:doOpen,[]) } Add(SQLite_DB,11481450,147,84) { link(onOpen,10334983:doEvent1,[]) } Add(Hub,10334983,196,84) { link(onEvent1,15601423:doExec,[]) link(onEvent2,11481450:doClose,[(221,97)(221,133)(135,133)(135,97)]) } END_SDK Add(MultiElement,11473775,1722,294) { link(onEvent1,1072548:In,[]) link(Data1,9931914:Var,[]) link(Data2,6012222:Var3,[(1735,215)]) } BEGIN_SDK Add(EditMulti,3398037,21,21) { EventCount=1 WorkCount=1 DataCount=2 link(doWork1,2281419:doEvent1,[(98,27)(98,132)]) } Add(SQLite_Exec,10858256,224,126) { link(dbHandle,3398037:Data1,[(230,84)(27,84)]) link(SQL,15679369:GetData,[]) } Add(EventFromData,15679369,231,63) { link(onEvent,7297867:doString,[(270,69)(270,52)(169,52)(169,69)]) } Add(FormatStr,7297867,175,63) { DataCount=1 Mask="DROP TABLE %1;" link(onFString,15679369:doData,[]) link(Str1,3398037:Data2,[(181,52)(34,52)]) } Add(Hub,2281419,175,126) { link(onEvent1,10858256:doExec,[]) link(onEvent2,3398037:onEvent1,[(255,139)(255,27)]) } END_SDK Add(GetDataEx,3728650,553,222) { Angle=3 link(Data,15454577:Var3,[]) } Add(HubEx,4221252,462,126) { link(onEvent,10340291:doWork2,[]) } Add(LineBreak,14856619,1547,231) { @Hint=#15:Удалить таблицу| Caption="Delit Tabl" link(Out,13282791:doString,[]) Primary=[2431572,-1281,-21] } Add(LineBreak,11118269,1547,378) { Caption="Creat Tabl" link(Out,16224631:doVisible,[]) Primary=[7187292,-1274,-210] } Add(LineBreak,10539562,539,273) { Caption="Creat Tabl" Type=1 link(Data,15454577:Var2,[]) Primary=[14971607,1225,84] } Add(LineBreak,845234,378,126) { Caption="Creat Tabl" link(Out,4221252:doWork2,[]) Primary=[13298291,1316,308] } Add(LineBreak,6159179,784,196) { Caption="Delit Tabl" Type=1 link(Data,4896060:Var2,[]) Primary=[8789352,840,-7] } Add(LineBreak,6601483,553,245) { Caption="Delit Tabl" Type=1 link(Data,3728650:Var2,[]) Primary=[9931914,1169,21] } Add(LineBreak,928927,385,154) { Caption="Delit Tabl" link(Out,4221252:doWork3,[(466,160)]) Primary=[1072548,1386,140] } Add(ChildFormEx,5893351,1659,532) { @Hint=#15:Коротка справка| link(onClick,13820772:doWork1,[]) link(onEvent2,16509627:In,[(1707,545)(1707,580)]) link(dbHandle,11308196:Var2,[]) } BEGIN_SDK Add(EditMultiEx,1214415,3,3) { WorkCount=#14:doVisible=Help| EventCount=#7:onClick|8:onEvent2| VarCount=#4:Text| DataCount=#8:dbHandle|4:Str1| Width=552 Height=368 link(doVisible,1691967:doEvent1,[(23,9)(23,55)]) link(Text,14394373:Text,[(9,254)(139,254)]) } Add(MainForm,10146989,98,21) { Left=35 Top=105 Width=318 Height=134 Visible=1 Caption="Переименовать таблицу" BorderStyle=3 Position=1 Point(doVisible) } Add(Edit,14394373,133,105) { Left=10 Top=40 Layout="creatdb" WidthScale=100 Text="New_name" } Add(Button,15879121,182,224) { Left=10 Top=70 Height=40 Layout="creatdb2" WidthScale=50 Caption="Переименовать" link(onClick,5542748:doEvent1,[]) } Add(Button,1501749,21,203) { Left=75 Top=70 Height=40 Layout="creatdb2" WidthScale=50 Caption="Отмена" link(onClick,16418378:doWork3,[(75,209)]) } Add(VBoxLayout,8275739,371,28) { Name="creatdb" Space=5 Padding=10 } Add(HBoxLayout,2244701,420,28) { Name="creatdb2" WidthScale=100 Layout="creatdb" } Add(Label,9894525,245,329) { Left=25 Top=15 Layout="creatdb" Caption="Новое имя таблицы" } Add(Hub,5542748,231,224) { OutCount=3 link(onEvent1,1214415:onClick,[(351,230)(351,9)]) link(onEvent2,1214415:onEvent2,[(400,237)(400,16)]) link(onEvent3,16418378:doWork1,[(257,244)(257,69)]) } Add(HubEx,16418378,71,63) { Angle=3 link(onEvent,10146989:doClose,[(75,48)]) } Add(FormatStr,9143972,189,329) { DataCount=1 Mask="Новое имя для таблицы %1" link(onFString,9894525:doText,[]) link(Str1,1214415:dbHandle,[(195,166)(9,166)]) } Add(Hub,1691967,42,49) { link(onEvent1,10146989:doVisible,[]) link(onEvent2,9143972:doString,[(122,62)(122,335)]) } END_SDK Add(MultiElement,13820772,1736,532) { link(Data1,14803893:Var,[(1742,511)(1756,511)]) link(Data2,11308196:Var3,[(1749,509)]) link(Data3,5893351:Text,[(1756,520)(1704,520)(1704,576)(1665,576)]) } BEGIN_SDK Add(EditMulti,14866266,21,21) { WorkCount=1 DataCount=3 link(doWork1,2246897:doExec,[(87,27)(87,153)]) } Add(SQLite_Exec,2246897,154,147) { link(dbHandle,14866266:Data1,[(160,84)(27,84)]) link(SQL,956950:GetData,[]) } Add(EventFromData,956950,161,84) { link(onEvent,11959765:doString,[(200,90)(200,73)(99,73)(99,90)]) } Add(FormatStr,11959765,105,84) { Mask="ALTER TABLE %1 RENAME TO %2;" link(onFString,956950:doData,[]) link(Str1,14866266:Data2,[(111,52)(34,52)]) link(Str2,14866266:Data3,[(118,52)(41,52)]) } END_SDK Add(GetDataEx,8057104,770,172) { Angle=3 link(Data,6415163:String,[(767,177)(767,149)(839,149)]) } Add(GetDataEx,5426466,707,222) { Angle=3 link(Data,16462417:Var3,[]) } Add(GetDataEx,11308196,1659,504) { link(Data,4549640:Var,[]) } Add(HubEx,10340291,469,126) { link(onEvent,12785880:doWork3,[]) } Add(LineBreak,1276727,1568,532) { Caption="RenameTabl" link(Out,5893351:doVisible,[]) Primary=[3168787,-1302,-343] } Add(LineBreak,10056017,770,238) { Caption="RenameTabl" Type=1 link(Data,8057104:Var2,[]) Primary=[4549640,889,238] } Add(LineBreak,13790533,707,259) { Caption="RenameTabl" Type=1 link(Data,5426466:Var2,[]) Primary=[14803893,1043,217] } Add(LineBreak,461905,371,182) { Caption="RenameTabl" link(Out,10340291:doWork3,[(473,188)]) Primary=[16509627,1351,392] } Add(SQLite_Exec,6508024,525,525) { link(dbHandle,5382461:Var2,[(531,413)(622,413)]) } Add(GetDataEx,5382461,616,222) { Angle=3 link(Data,3728650:Var3,[]) } Add(Edit,5436779,1666,812) { Left=870 Top=445 Width=155 Text="4444" } Add(PopupMenu,12422400,987,357) { Menu=#10:Копировать|7:Открыть|14:Экспортировать|1:(|3:Txt|4:Html|1:)| link(onClick,10409952:doEvent,[]) } Add(Button,15688463,1589,805) { Left=905 Top=410 Width=110 Height=25 } Add(IndexToChanel,5373490,938,350) { link(onEvent2,12422400:doPopupHere,[]) } Add(IndexToChanel,15292358,938,399) { link(onEvent1,2455597:doWork1,[(982,405)(982,547)(648,547)]) } Add(MST_Matrix,11384499,168,672) { MSTControl="mtst" link(onEMatrix,1337700:doPutText,[]) link(X,14791102:SubItem,[(174,664)(181,664)]) link(Y,7536:Var2,[(181,664)(188,664)]) } Add(MST_UseEditCtrl,14791102,168,567) { MSTControl="mtst" } Add(IndexToChanel,10409952,1029,357) { Count=6 link(onEvent1,16372223:In,[]) link(onEvent2,16268264:doEMatrix,[(1073,370)(1073,447)(1017,447)(1017,517)]) } Add(Clipboard,1337700,231,672) { } Add(MST_Matrix,16268264,1141,511) { X=4 MSTControl="mtst" } Add(ListBox,6415163,812,70) { Left=770 Top=60 Width=225 Height=355 Layout="Nem2" Point(doSelect) Point(String) link(onClick,13860672:doWork1,[(863,83)]) } Add(Edit,3606568,1666,602) { Left=455 Top=90 Ctl3D=1 Hint="Поиск" Layout="Name6" WidthScale=100 Text="" Point(onMouseDown) link(onEnter,4891057:doWork1,[(1710,615)(1710,638)(1649,638)]) } Add(BitBtn,3018845,1603,658) { Left=1145 Top=455 Width=80 Layout="Name6" Caption="Search" Bitmap=[ZIP3604000078DAD5523D8F824010F5926B314762E88C870D078186C242BBEB2F586B6BE850FE01606D698776FA13FC1F6A4D47ACEC508142793A7BE6627259EF23B9E25E32D9ECCEBEC9CC7BF3FAD6782C31342EF17289A76B3C949EDF13D7FC2DF08F70381C309BCD1045D18FB95996C1F33C88A288F97CFE2B6EB95C6627DD79FF168B051CC741A7D381EFFB58AFD7188D461004E12E77B7DBC1755D542A15349B4DB4DB6DA8AA8A6AB50AD334598D344DB93D8EC763489284C96482FD7E8FD3E984CD66835EAF875AAD86E572C9E526498256AB05DBB619EF16711C43D334360B0FF4A75EAF230CC34FB9E3F108CBB2D0ED76B9FCED760BC330100401B7B77EBFCFE5174581C160C0F45AAD561FEF340BE941BA902FF7403B45BA2B8A82E17088E974CAF4203FC8973CCFBFDC13AA417DEABA0E5996593DF285BCFD2EA867D28334A5D9FF1A676DC38B4C] link(onClick,4891057:doWork2,[]) } Add(MST_FindText,9257018,1666,658) { MSTControl="mtst" Point(doSetFocus) Point(doEnsureVisible) link(onFindText,6247353:doCompare,[]) link(FindText,3606568:Text,[]) } Add(HubEx,4891057,1645,658) { link(onEvent,9257018:doFindText,[]) } Add(If_else,6247353,1722,658) { Op2=Integer(-1) link(onTrue,13931361:doMessage,[]) link(onFalse,3469753:doEvent1,[(1766,671)(1766,695)(1584,695)(1584,741)]) } Add(Message,13931361,1785,658) { Message="Не найдено" Caption="Поиск" } Add(Hub,3469753,1603,735) { link(onEvent1,9257018:doSetFocus,[(1641,741)(1641,678)]) link(onEvent2,9257018:doEnsureVisible,[(1641,748)(1641,685)]) } Add(GetDataEx,6012222,1624,210) { link(Data,8789352:Var,[]) } Add(ChildForm,6558247,875,686) { } BEGIN_SDK Add(EditMulti,5160920,21,21) { WorkCount=2 Width=1490 Height=816 link(doWork1,10672515:doEvent1,[(56,27)(56,111)]) link(doWork2,1357868:doWork1,[(227,34)(227,209)]) } Add(MainForm,13078339,126,42) { Left=35 Top=105 Width=550 Height=732 Color=16777215 Visible=1 Name="main" Caption="Редактор" Position=1 Point(doVisible) Point(onShow) Point(onResize) Point(Handle) Point(Width) Point(SizeHeader) } Add(ChildPanel,10541313,273,146) { link(onEvent1,1357868:##add,[(369,152)(369,181)]) link(onEvent2,1357868:##delete,[(369,159)(369,188)]) link(onEvent3,10630947:doEvent1,[(345,166)(345,195)]) } BEGIN_SDK Add(EditMulti,14085203,3,3) { EventCount=3 WorkCount=1 Width=993 Height=515 link(doWork1,12998234:doEvent1,[(159,9)(159,104)]) } Add(Panel,10295005,21,462) { Width=669 Height=24 Align=2 Point(doColor) } Add(DoData,15970965,385,154) { Data=String(base) link(onEventData,8100220:doEvent1,[]) link(Data,11797737:CurTabIndx,[]) } Add(ImgBtn,4138327,336,154) { Left=177 Width=17 Height=18 Align=3 Hint="Закрыть" Split=0 Normal=[ZIPAA03000078DA7593DD4B53711CC64FF41774D7756514755DD4552F56600B022B895E58AD1D641BAD2316A30579A1B4361A9A99682AD584E15C6CAD8B059959A35858CD65C8D46A16F622B126D482C35EECB39D5F7182F5E5F91DBE7B9ECF730E1B3B3BF605964B95D9C459C75921CE326965C56F16B97EFC7EBFC562311A8D27747352372693E95465CC66B3DD6E0F854292CD66F305271EC67F8C8DFF7AF2528D25F2B144E15FE5F1496120154591B8EB7074A1B1256D6BFB7CDAF5ED8CFB3B523C59C5B3C855FB884F0A0329CB72B9733BFCA9A169FAC8D9B9A38EF963E7BF1C777EAD68415B70F049612045A777E8C36E53B24E4EED6D7C6BB0A40D564D7362B1A4F149612045E7EAAD779B0FC4B73424B61E9EF4B6B6CA87EA917EC1278581141DCF8DD4FA3DA31BEA9E6E34C481962AA35FF049612045C7D5FD66F5F6684DEDE8DA5D8FB5DB2FFD19ED39F8A43090A273E97A72D5B6C89A9DF76B6A47C8FED6B4020E3E290CA4E80C04E7F75BA7EAEDEF0F367DACFA1C7C521848D1093DC8DA2F679ABDB9731D6AD5EF834F0A03293AF71E651DED990B5DB98B3D6AD5DF0D9F14065274A2B16C4B77A6AD3FE7BAA9BA7D05B7AFE8418325AEEEB20AF8A43090E50EFFC2916759D740E6CA60AEC3AF76060A9D8122BA365CD2161C7C521848D1197BBED8EECB740DFDECB9A3F6850B7DE122EABF5BD2161C7C5218C872C76AB57A7B5F8C4FE65E4DA913A97C72A6989C29A1D7B3256DC1C1278581E4759082C1A0C3E1D0BF248CFC9F713A9D914844FA0D644204BB] Select=[ZIPAA03000078DA8593DF4BDB501CC533F617F8E68B4D1486FD0BF63C7F94213206167D700CABB579680B5D4146A18C21BA8A7BD8CF76954D238E9674361888DBD0228A1B743070221B9D8ABFBAD2EA53C8CB0286A5D9497A2B79A8F8E5DCCBED399F934B4BD37967F13A65CD4D2C27561359D7A866CB1F23B97D789EF7FBFD1E8F67D83623B6F17ABDA3D6F87CBE5028248A22150C0627327F42894A2C55BE5AE972381CA6F0D4D88753C65B66462B0C7BD6EAA95C26C667D65896B53AA9B2637097BE7FCC0C95CC78F8D4D21939801E2A2105837B48E7095774DCDDA6FB0A8C7B9FE93FB4745497F5D1BD8F140CC87AE7ED41CBED3CDDB345F7EE3C9B9C6407DC90FD001F291890F54EF2774BC79AA3FB0BEDCA0332ACB11FE02305039274A6DEFC646E7D6AEDCCB575ADD71E6FD4A7760F7CA4604092CE7472FB4687D8DEFDD1E95A71BA7217B55A010E7CA4604092CEFBA5D2C083C2E0D8E1BD87C586F7C0470A0624E92C6F289117F2A384FA78466BF87DE0230503927456BE2AE3493936A74E2F680D7F37F848C180249DB56FCA534E7E9E525F65B478568F67AB094830B0C74DE9F09182016976F02FDCFCAEBC4ECB33597556D43849E7A4EA3CB46C60E74CE9F0918201493AF91FCA3B415E90FEA63F6BFCAACEAF563339C8C08E331CF848C180343B8140E0E5DCD6CE9EFAEBE0BC70F46FF7A45AD35ED1B838C3470A06245E074A10844824627F4930EC25138D462549A2FE03B8B9F2CC] Down=[ZIPAA03000078DA7D93ED6B925118C68DFE82A0E6DB9CB54FD1A0A18450D097318270D5562063CDC9A6E9D467BE606E4E6CA5CC85D45692E0B6966CF6206A39675B2DB62888414544117DE8431044FFC7FAA98FE507E9C67373735DBFCB733C787A2E140FCA6A65601D671D92D60199A2A65F97FCE62A97CB5EAFD76EB75FFB6FD96AE5F1784AA592CCEFF70FA59F8E3FFFECDCF9E67AFDDDFDF687B0F75378F76BE2C36F3A330A3A2E0C241BC8D8C13257508F2E6B1C59AD5038EA2B1F0B6C764E6E774EEFD29951D0716120D9AD9A3187D7147D0BAACB69B529A319123BCC05ADA5A41DDBA033A3A0E3C24056339C75D8BF223F7B5BD993549D5B549FCFB4F7653517731DFD453A330A3A2E0C6423E35A6CD345E5863BCAD3C985D959BBE90A9FE6011D170652CA5C75A40E774DB775C714FA04D07EAD9A07745C18C846C67EFFC88980FC6444A98BD5BF7EBF51D23EBA182E0CA4D56AAD9DCD31AFE8F2A8BAA7DAF53734A7FEC5EA0114745C18C86A867B730797F4BD3183F1EE99FE54CB7DD0716120A5BB0ECEACF69AEE1947962FD91EB7FC3DE8B83090D2D942D1AC713839605B3139C596F7868E0B032965227171602C35E8CA98BDB9D160C916AA38222F5CB776E8CC28E8B8309052269AC80D8EA72DBE356B30EF08AFBB67363DB16D7F7C97CE8C828E0B032965E2F38511CF435B5074868B1337CBBED85660EEE564E2159D19051D1706B29AE1EFED9E7AB024BE7994DF5B7DF23EBBFE51DCF8947BF625BFF595CE8C828E0B03290882AC52A984C3E1FAF3F8FB4E9ACBDA54A150A8FA7EFE0014679A00] link(onClick,15970965:doData,[]) } Add(Hub,12998234,315,98) { OutCount=3 link(onEvent1,123163:doValue,[(357,104)(357,48)]) link(onEvent2,11797737:PageInsert,[]) link(onEvent3,14085203:onEvent1,[(663,118)(663,9)]) } Add(TabControl,11797737,378,105) { Width=367 Height=262 Align=5 Bitmaps=[] HotTrack=0 Point(PageDelete) Point(CurTabIndx) link(onChange,14085203:onEvent3,[(703,111)(703,23)]) link(NewPageText,123163:Value,[]) } Add(Hub,8100220,434,154) { link(onEvent1,14085203:onEvent2,[(722,160)(722,16)]) link(onEvent2,11797737:PageDelete,[(460,167)(460,143)(366,143)(366,118)]) } Add(Memory,123163,378,42) { @Hint=#15:Состояние хоста| } END_SDK Add(Hub,10630947,399,189) { link(onEvent1,1357868:##select,[]) link(onEvent2,1357868:doBringToFront,[]) } Add(ChildPanelEx,1357868,434,175) { Mode=1 } BEGIN_SDK Add(EditMultiEx,9975765,21,21) { WorkCount=#5:##add|8:##delete|8:##select|14:doBringToFront|7:doWork1| Width=881 Height=501 Point(##add) Point(##delete) Point(##select) link(doBringToFront,8040947:doBringToFront,[]) link(doWork1,8455317:doSeparateMT,[(56,55)(56,195)]) } Add(Panel,8040947,49,35) { Left=25 Top=125 Width=500 Height=65535 Align=5 BorderWidth=0 BevelInner=0 BevelWidth=0 Point(doBringToFront) } Add(ChildPanel,15919406,182,196) { } BEGIN_SDK Add(EditMulti,10049338,21,21) { WorkCount=2 Width=741 Height=452 link(doWork1,6047394:doText,[(115,27)(115,90)]) link(doWork2,2972873:doText,[(109,34)(109,237)]) } Add(Panel,1368202,35,105) { Left=35 Top=105 Width=949 Height=70 Align=2 Color=16777215 BorderWidth=0 BevelWidth=0 } Add(VBoxLayout,10561219,721,28) { Name="Loy1" Padding=10 WidthScale=100 HeightScale=100 } Add(Edit,6047394,210,84) { Left=50 Top=45 Height=30 Font=[MS Sans Serif,14,0,0,1] WinStyle=1 Layout="Loy3" WidthScale=100 Text="Name" ClearAfterEnter=1 } Add(HBoxLayout,15815104,679,28) { Name="Loy2" Space=5 WidthScale=100 HeightScale=100 Layout="Loy1" } Add(HBoxLayout,3618561,6
[color=gray][size=9]Редактировалось 1 раз(а), последний 2018-01-28 09:15:52[/size][/color]
|