From 10a047601018d4c360ffa352591ab11b3517c489 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Sun, 28 May 2017 15:25:50 +0000 Subject: [PATCH] fpspreadsheet: Add cursor for drag-and-drop copy mode. Add script to generate the lrs file for the visual components. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5908 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- .../images/components/cur_dragcopy.cur | Bin 0 -> 326 bytes .../fpspreadsheet/images/components/list.txt | 9 + .../images/components/make_lrs.bat | 1 + .../images/components/readme.txt | 15 +- .../source/visual/fpspreadsheetctrls.lrs | 386 +++++++++--------- .../source/visual/fpspreadsheetgrid.pas | 16 +- 6 files changed, 214 insertions(+), 213 deletions(-) create mode 100644 components/fpspreadsheet/images/components/cur_dragcopy.cur create mode 100644 components/fpspreadsheet/images/components/list.txt create mode 100644 components/fpspreadsheet/images/components/make_lrs.bat diff --git a/components/fpspreadsheet/images/components/cur_dragcopy.cur b/components/fpspreadsheet/images/components/cur_dragcopy.cur new file mode 100644 index 0000000000000000000000000000000000000000..375093b31c48678a2a986438f979c7b4673f2f8f GIT binary patch literal 326 zcmZ|JF%E)25Czb`VuDuKU@SCXXK85%i5H;o02aoY(t^0$fW}jB3gbnz(!>*3XujW- zgo+_=|IBP406iGQF1Ts83@+LL5Ebadec81#UV?p>D33lN@wVGVfN zuVpXChCS!7Wd@5(y9|YY#i4JIE4P|cfs;f3&{@x#yczQGmX8$VeI`@w=j2XruPix{ Z--nz)8C66gR#?%zKu>%LG)Iz%l`p@0avlHx literal 0 HcmV?d00001 diff --git a/components/fpspreadsheet/images/components/list.txt b/components/fpspreadsheet/images/components/list.txt new file mode 100644 index 000000000..6ac73a6de --- /dev/null +++ b/components/fpspreadsheet/images/components/list.txt @@ -0,0 +1,9 @@ +TSCELLCOMBOBOX.PNG +TSCELLEDIT.PNG +TSCELLINDICATOR.PNG +TSFONTNAMECOMBOBOX.PNG +TSSPREADSHEETINSPECTOR.PNG +TSWORKBOOKSOURCE.png +TSWORKBOOKTABCONTROL.PNG +TSWORKSHEETGRID.PNG +cur_dragcopy.cur diff --git a/components/fpspreadsheet/images/components/make_lrs.bat b/components/fpspreadsheet/images/components/make_lrs.bat new file mode 100644 index 000000000..4a7668929 --- /dev/null +++ b/components/fpspreadsheet/images/components/make_lrs.bat @@ -0,0 +1 @@ +lazres ../../source/visual/fpspreadsheetctrls.lrs @list.txt \ No newline at end of file diff --git a/components/fpspreadsheet/images/components/readme.txt b/components/fpspreadsheet/images/components/readme.txt index b2d2c2f13..2837fab1d 100644 --- a/components/fpspreadsheet/images/components/readme.txt +++ b/components/fpspreadsheet/images/components/readme.txt @@ -1,8 +1,15 @@ This folder contains the palette icons of the visual spreadsheet components. -fpspreadsheetctrls.spp is the source file. It contains the various images as -layers. Use the software "PhotoPlus" (www.serif.com) to open and edit; the -free starter edition is sufficient. +fpspreadsheetctrls.spp is the source file for the palette icons. +It contains the various images as layers. Use the software "PhotoPlus" +(www.serif.com) to open and edit; the free starter edition is sufficient. The basic icons are taken from the Lazarus images folder. The Excel overlay is -self-drawn according to an old Excel version. \ No newline at end of file +self-drawn according to an old Excel version. + +In addition, there's also the cursor for drag-and-drop copy mode. + +The Lazarus resource file is created by executing the make_lrs.bat batch file +(Linux script to be created accordingly). The script requires lazres.exe to +be in the same directory - compile (lazarus)/tools/lazres to create this +binary. \ No newline at end of file diff --git a/components/fpspreadsheet/source/visual/fpspreadsheetctrls.lrs b/components/fpspreadsheet/source/visual/fpspreadsheetctrls.lrs index 8390b87c6..ddbcade1c 100644 --- a/components/fpspreadsheet/source/visual/fpspreadsheetctrls.lrs +++ b/components/fpspreadsheet/source/visual/fpspreadsheetctrls.lrs @@ -1,3 +1,171 @@ +LazarusResources.Add('TSCELLCOMBOBOX','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#26 + +#23#4'-'#148'N}'#145#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCopyr' + +'ight'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9'tEX' + +'tSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 + +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 + +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2'g' + +'IDATH'#137#181#149'QHSQ'#24#199#127'g'#155#137'h'#140#156#169#144#17'2B'#232 + +'A1'#139#5'Y'#129#198#194#196#30#10'}'#176#151'F'#209#160'(j'#164'w'#190'E' + +#16#204#22#190#248'f'#193#237'eA'#134'/'#3'['#248' N'#5'_'#162'p'#132#15#134 + +#141'HJ%)mdQ'#247#158#30#134'k'#186#187#155'['#249#135#203#189#231';'#223#249 + +'~'#231';'#247#156#239#8')%'#219')'#203#182'F'#7'l'#0'~'#127#255#127'K#'#16 + +#184'&2'#0'I'#200#249'<'#130#133'6'#140#155#142#205#224#247#247#203't'#136'-' + +'}@S'#147'{'#203#193'GGGR'#223'eeeh'#186'dll'#2#128#232#248#164'?5x'#224#30#193'",xCm'#0#12#169 + +#128#138#212#145#230'Kt'#171'['#201'46'#195#13#143#143#165#196'<'#229'%U'#244 + +#14#244#209#173#244#240#181'n'#134'3'#173#181')'#183#240'p'#140'9uM'#152#2 + +#238#223#235#205#176'}'#254#254#137#219#143#188'\'#189'p'#17#0'Og'#7#131#5#17 + +#142#238#222#191'!'#248#27#245'[f'#169'X'#215#193'C'#245'f\'#154#27#223'R' + +#127#215#129'r'#217'GyI'#21#29#237'-'#168#143#7'9'#187#215'Ex8'#198'C'#207#8 + +#213']'#194#26#15'J'#237#159'J'#197'Rb~C{'#249#253'Z'#242#189#182'@<('#181 + +#172#25#172#203#236#28#236#162#1'U>E'#241#222'd)1'#143#167#179#157#208'`'#152 + +'s'#21'A'#28'E'#149')'#191#188#206#129'.5\'#190'} $'#189#3'}x:;'#0'A'#235#225 + +#6#158'L]'#167#133#9's@z'#225'3'#210#208#162#130#203'Y'#131#173'X'''#250'!' + +#198#242#202'"'#14'{'#5'ZiA'#134#175'0'#186#244#163#227#147'Y'#175#208'K'#170 + +#27#151#179'&9'#187'b'#29#128#241#143#175'i;}'#12#135#189#130#229#149'E'#194 + +#195'Q'#226'A)'#178#2#178#201#233')'#146#22#132'a_'#225#30#157#230#147'GR' + +#237#200#243'If'#3#191'DN'#0#128#234'.'#225#140#7#229#220'&'#155#221'j'#177 + +'|'#209#244'dF;'#172'VJKv'#2#240#27#31#144#219'n'#231#139#204#3#0#0#0#0'IEND' + +#174'B`'#130 +]); +LazarusResources.Add('TSCELLEDIT','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 + +#22#4#29#25'\'#239#129#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCop' + +'yright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9't' + +'EXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 + +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 + +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#1 + +#225'IDATH'#137#181#148'1h'#19'a'#20#199#127'_'#238'jI'#136#4#170'T'#168#1#13 + +'!t'#203#226#16#139'C'#134#136'K'#161#131'C'#135'n'#231#208#165'['#241#232 + +#152#142#150#131'n]'#10'i'#182#14'v'#16#10'ES'#232' '#136'Y'#156#28#21'9'#196 + +','#13#9#180#16'T0w'#207#225#154#227#146#166'I.'#229#30#188#225'}'#255#255 + +#247#255#127#239#187'{'#159'*WjB'#132#161#3'l'#191'z'#17#137#248#246#193')' + +#177'H'#148#3'1'#214'`i'#227'l'#162#181#155#240#145#6'K'#27'g'#212#247'J}'#27 + +#198#25#14#226#177' '#208#203'QQ'#223'+'#133#194#245'q'#27'G'#25#14';'#249 + +#141#6'Ar'#239'Z'#130#228#193':(6'#12#155#184#131'[G'#185'R'#147#168#162'\' + +#169'I'#228's'#224'M'#242#193'it'#14'"'#18'*'#31#191'&'#21#134#175'D&'#127 + +#235'2'#166'z'#2'|'#153#157#1#17'/'#255'9'#0#232#182'%N'#206'H'#244#137#185 + +#132'4'#184'2'#145#173#245'M'#154#157#6#243#201'4;'#251#187#216#150#168#156 + +#145#144#149#229#188#207';>'#249#202#247#234'o5'#205'GN'#239#236#239#182#230 + +#147'i'#0#140#181'U2'#166'j?'#203#231#174#137#3#225';'#24#236#4#160#217'iP=|' + +#203#203'B'#193#23#207#152'J'#179'-q'#244'1:#'#163#217'i'#244#213#237'_'#127 + +'z'#230#143'lK~'#222#170#131'+'#161#238#214#250#166#230#25#9#213#195#163#191 + +#182'%'#241' g*'#131#140#169'4'#189#21#239'v'#239'{''6'#214'V'#1#184#176#27 + +#188#171#127#198#182'D'#245#184'SM'#178#222#138'w'#11#217'E'#138#11#222'_' + +#211#190'<'#7#192#153#155#185#198#13'm'#144'3'#18'R'#200'.'#250'uq!'#207#241 + +#201'G'#183'}y'#206#189#212#3'V'#150#139'dL'#229'_K'#168'+'#202#26'q'#137#161 + +#134'b'#179#15']J'#207#159#250#245#251#15#159#248#246#166#171#166#25#180#172 + +'m'#201#143#129#181#148#22#139']8'#174#11#192#29'Mc.y'#23#128#255'O'#239'j' + +#213'"h'#245'N'#0#0#0#0'IEND'#174'B`'#130 +]); +LazarusResources.Add('TSCELLINDICATOR','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 + +#22#4#12's'#236#207's'#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCop' + +'yright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9't' + +'EXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 + +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 + +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#1 + +#217'IDATH'#137#181#150'1h'#19'a'#20#199#127'_'#238'jI'#136#4#170'T'#168#1'=' + +'B'#232#150#197'!'#22#135#12#17#151'B'#7#135#14#221#206#161'K'#183#226#209 + +#177#142#150#131'n]'#10'5['#7';'#8#133#162#21':'#8'b'#22'''GE'#14'1KC'#2'-'#4 + +#21#188#187#231'p'#241'H/m'#146#187#164#127'x'#195'{'#247#248#255#223#251#190 + +#239'}'#223#169#205#189'caBx'#241#236#137#138#198#244#238#135#241#201'_'#189 + +#191'4'#158#26#155'y'#8#134#10','#172#157#12#244#199#18'XX;'#161#190'S'#13'I' + +#227#146#15#21#136#162#190'S'#157#188'@'#146#170'{'#161#15'"'#238#173'8'#234 + +#143#138'k?El'#238#29#203'$'#208#229'!j'#215#222'A0'#201'WL'#225'DpY['#131 + +#236#254'srq'#242#149#200#232'w'#157'a'#169#7#192#231#233')'#16#9#236#175#7 + +#128#238#216#226#21#205#204#5'2'#159#152#2']'#17#217'X]'#167#217'i0'#155#205 + +#179#181#187#141'c'#139'*'#154#25'YZ,'#133'y'#135'G_'#248'V'#251#165#146'lr~' + +'kw'#187'5'#155#205#3'`'#174',cX'#170#253#168'T'#236'#'#7#226'w'#16#237#4#160 + +#217'iP'#219#127#205#211'r9$7,'#165'9'#182'xWN'#242'(hv'#26#23#252#246#207 + +#223#255#197#239'9'#182#252#24#171#131'.'#145#187#177#186#174#5'BBm'#255#224 + +#143'cK'#186'7'''#145#128'a)Mo'#165']'#247'vP'#177#185#178#12#192#153#211#224 + +'M'#253#19#142'-'#225#211#153'h'#146#245'V'#218'-'#23#230#169#204#5#167#166 + +'}~'#10#128'73'#213#151#27'['#160'hf'#164'\'#152#15#253#202'\'#137#195#163#15 + +'~'#251#252#148'['#185';,-V0,'#21'.K'#172'%*'#152'iI'#209#247#227#0#192#244 + +']'#159#234#227#135#161#255#246#221'G'#190#190'tU'#146'A+8'#182'|'#143#196'r' + +'Z*u'#230#249'>'#0'74'#141#153#236'M'#0#254#1#147#1'M'#220#4#245'Q'#0#0#0#0#0 + +'IEND'#174'B`'#130 +]); +LazarusResources.Add('TSFONTNAMECOMBOBOX','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 + +#22#5#3#250'H'#227#163#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCop' + +'yright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9't' + +'EXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 + +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 + +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2 + +#145'IDATH'#137#181#149'_HSQ'#28#199'?w['#133'9'#155'sC'#141#132#144'a'#131 + +#30#140'"0('#18#214#182#8#209#168#208#192#130#24#4#210'CP'#130'8'#233#173#167 + +#137#224#139#208#131#9#171#7#233#201#4#193','#255#229'te'#15#162'8B'#168#144 + +'=$'#162#194#216#4'i'#15#185'{z'#152#222#246#231#186#221'I}'#225'r'#207#239 + +'w'#206#249'~'#206#239#220#195'='#146#16#130#255')'#3#128#215#219#247#207'(>' + +#223'c)'#11#144#132#220';'#132#217'`'#218#188#229#208#10'^o'#159'H'#133#24'R' + +'''8'#28'n'#205#230#211#211#227'J'#219'j'#181#146#144#5'33s'#0#4'f'#131#162 + +#254#234#21')'#11#144':'#169#16'uvva2'#153'T'#251#12#170#217#2#180#28'Z'#193 + +'}'#253#198#129#253#10#192#231#27'T'#146'z'#253#134'F'#251'J'#198#222'-'#229 + +#28'aH'#154#255#253'(^o'#159#200#181#162'|'#202#4#170'n'#209#185#218#179'9M' + +#204'fKZ'#28#141'F'#10#3'hQ'#170'i.'#233#14#11#208#170#3'+('#205#216#134'}' + +#197#246'V'#190#191'M'#249'*Q'#5',.,'#193#196'$'#14#151#147#233#137'I%'#239 + +'p9'#249#244'%'#8#192#212'^~qA'#195')'#202#167'}'#144#127#232#5#207#167'nb' + +#239#130'GSN'#132#128#223#9'x'#233#30'G'''#233'h'#27'l'#4'`'#200#15#248#17'2' + +'"?'#192#225'r*'#237#211''''#206#0#240#196#211#206#214#206#26#229#198'*'#186 + +#251'{'#21#243#166#134'Ze'#236#200'h'#136'U'#127'\R'#5'\'#184'x^i'#199#162#17 + +'J'#205#22'%'#247#193#254#149#187#3#245#180#221#127#0#128#167#181#133#246#225 + +'f.'#215#214#164#153#255#240#255#146'@'#227')'#138#165'|'#200#242#146#147'||' + +#250#157#238#254#222'dl'#172#226#246'-'#23#129#245#144'b>'#224#25#167#186'C' + +#210#131#134'STj'#182#164#1'R'#181#181#179#150#22'G~'#198#147#239#248#6#225 + +#30#145#200'YA,'#26'Q'#30'5-='#139#240#250#205#16#229#198'*'#0'<'#173#205#204 + +'o}'#227'NE7'#150#162'Je'#156#148'yej'#185#221#4'2o7'#187#216#181#198#247#204 + +'['#146#139#10#175'1<'#255#153'W'#141's'#168#222#7#144#252#241#5'f'#131'9!' + +#15#253'n'#234'lv'#12#197'2'#129#245#16#145#237'M,'#166#10#18'eG'#178#198'fU' + +#144'O5'#158#227#162#206'f'#7#192'P,'#3#16'X'#15#201'M'#13#245':'#139#169#130 + +#200#246'&#'#163#1#194'=B*'#24'`'#243#20#9#29#146'j'#223#177'S2'#215#156#151 + +#148'x'#236'}'#144#239#190']'#169#224#10#170';$['#184'G'#172'f'#228'Lz'#157 + +'.'#150#144#147#21#29#213#235')3'#150#0#240#7#211#238#251'KG'#198#231#222#0#0 + +#0#0'IEND'#174'B`'#130 +]); +LazarusResources.Add('TSSPREADSHEETINSPECTOR','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 + +#22#6#18#187#213#144#146#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtC' + +'opyright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9 + +'tEXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0 + +#8'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0 + +#8'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2 + +'0IDATH'#137#205#149#207'K'#147'q'#28#199'_'#223'=3E'''#3#7'z'#200#136#177 + +#134'A4'#233#16'K'#202#237#144'`"I'#5'u0'#8#23#209#169'_Hk'#187'u'#221#26'x' + +#176#155#151#141' '#15#193' $Y'#135#14'm'#250#15#248'H'#151'T'#134'4'#132#13 + +#132'FC'#163'|'#158'o'#135#185#181#31#250#204#153#129'o'#248#30#158#239#231 + +#253'|^'#159#247#243#253#194'#'#164#148#252'O'#153#1#130#193#215'GF'#9#133#30 + +#139':'#0#192#200#136#139'DB%'#24#188#203#210#210'r'#221#139#253#253#231#247 + +#220'/)'#145'P'#1'XH'#166#228#160#215'S'#134#152'k'#13#161#208'['#195#6'MKJI' + +' 0-'#141#212#168'^'#233'K}NJ)%'#165'e'#174#132#185'\'#174#186#1'TU5'#172#215 + +'zjU'#5'02'#30#164#222#16'p'#152#4#141#160#199'?A#'#240#241'Op'#228'g'#240 + +#227'g'#158#206'6'#171#161'o_@'#163#9#207']q'#178'5'#176'Jk'#11'HY\'#191'5X' + +#13#239#160#152#20#226#217#0#241#24#16'C'#2#232#200#230#18'|Y\'#193#238#23'<' + +#243'M'#146'+d'#232#182#244#18#158#153'B1)8}'#237#140#141#254#29'pn^e-'#186 + +'-'#154'>'#3'K'#219'Y^'#253#154#230#197#163''''#0#248#198#239'p'#225#165#141 + +#203'.gU'#243#149#232#150#168#251'D'#205#220'"'#187'_'#16'x8I'#183#165#151 + +#155'7'#134#136#206#190#227#214')w'#185#185#221'/'#148'tDj'#135#191'E'#195 + +#144'+d'#170#188#155#223#182'K'#240#211#233#136'\'#255#167#4#0'g'#2'f'#158'?' + +'xJ'#174#144#193'7~'#155'7'#179#239#137'N|b'#208#235'Y/yL'#134#29#247#145#166 + +'k8}'#237'h'#186'FxfjwW06p'#145'{'#31#188'U'#222'r'#130#133'd'#202#176'ie' + +#253'~'#236#26'nG'#31#230#14#157#228#134#202'f>'#139#205#218#131#214#213'R' + +#247#158#144'R6'#245'O'#142'g'#3#184#29'}'#197#233':t'#0'R'#27#203'\'#31#245 + +'`'#179#246#176#153#207'27'#159'$'#29#145#162#12#216#157#176'!d"6'#140#9#177 + +'g'#173#245#164#206#213#161'K'#229#231#196#199'E'#190#134'vD'#25'pP'#217#253 + +#194#145#142#200#181#154'='#171'b2}'#215#244'b'#162#19#138'B'#151#165#19#128 + +'?'#210#139'M'#214#143'O'#217#253#0#0#0#0'IEND'#174'B`'#130 +]); LazarusResources.Add('TSWORKBOOKSOURCE','PNG',[ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 @@ -106,208 +274,18 @@ LazarusResources.Add('TSWORKSHEETGRID','PNG',[ +#142#156'_'#241'x'#14#27#205'&'#0#151#20#133#137#177'q'#0#254#2#10#209#21#10 +'^O'#179#169#0#0#0#0'IEND'#174'B`'#130 ]); -LazarusResources.Add('TSCELLEDIT','PNG',[ - #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 - +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 - +#22#4#29#25'\'#239#129#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCop' - +'yright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9't' - +'EXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 - +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 - +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#1 - +#225'IDATH'#137#181#148'1h'#19'a'#20#199#127'_'#238'jI'#136#4#170'T'#168#1#13 - +'!t'#203#226#16#139'C'#134#136'K'#161#131'C'#135'n'#231#208#165'['#241#232 - +#152#142#150#131'n]'#10'i'#182#14'v'#16#10'ES'#232' '#136'Y'#156#28#21'9'#196 - +','#13#9#180#16'T0w'#207#225#154#227#146#166'I.'#229#30#188#225'}'#255#255 - +#247#255#127#239#187'{'#159'*WjB'#132#161#3'l'#191'z'#17#137#248#246#193')' - +#177'H'#148#3'1'#214'`i'#227'l'#162#181#155#240#145#6'K'#27'g'#212#247'J}'#27 - +#198#25#14#226#177' '#208#203'QQ'#223'+'#133#194#245'q'#27'G'#25#14';'#249 - +#141#6'Ar'#239'Z'#130#228#193':(6'#12#155#184#131'[G'#185'R'#147#168#162'\' - +#169'I'#228's'#224'M'#242#193'it'#14'"'#18'*'#31#191'&'#21#134#175'D&'#127 - +#235'2'#166'z'#2'|'#153#157#1#17'/'#255'9'#0#232#182'%N'#206'H'#244#137#185 - +#132'4'#184'2'#145#173#245'M'#154#157#6#243#201'4;'#251#187#216#150#168#156 - +#145#144#149#229#188#207';>'#249#202#247#234'o5'#205'GN'#239#236#239#182#230 - +#147'i'#0#140#181'U2'#166'j?'#203#231#174#137#3#225';'#24#236#4#160#217'iP=|' - +#203#203'B'#193#23#207#152'J'#179'-q'#244'1:#'#163#217'i'#244#213#237'_'#127 - +'z'#230#143'lK~'#222#170#131'+'#161#238#214#250#166#230#25#9#213#195#163#191 - +#182'%'#241' g*'#131#140#169'4'#189#21#239'v'#239'{''6'#214'V'#1#184#176#27 - +#188#171#127#198#182'D'#245#184'SM'#178#222#138'w'#11#217'E'#138#11#222'_' - +#211#190'<'#7#192#153#155#185#198#13'm'#144'3'#18'R'#200'.'#250'uq!'#207#241 - +#201'G'#183'}y'#206#189#212#3'V'#150#139'dL'#229'_K'#168'+'#202#26'q'#137#161 - +#134'b'#179#15']J'#207#159#250#245#251#15#159#248#246#166#171#166#25#180#172 - +'m'#201#143#129#181#148#22#139']8'#174#11#192#29'Mc.y'#23#128#255'O'#239'j' - +#213'"h'#245'N'#0#0#0#0'IEND'#174'B`'#130 -]); -LazarusResources.Add('TSCELLINDICATOR','PNG',[ - #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 - +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 - +#22#4#12's'#236#207's'#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCop' - +'yright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9't' - +'EXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 - +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 - +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#1 - +#217'IDATH'#137#181#150'1h'#19'a'#20#199#127'_'#238'jI'#136#4#170'T'#168#1'=' - +'B'#232#150#197'!'#22#135#12#17#151'B'#7#135#14#221#206#161'K'#183#226#209 - +#177#142#150#131'n]'#10'5['#7';'#8#133#162#21':'#8'b'#22'''GE'#14'1KC'#2'-'#4 - +#21#188#187#231'p'#241'H/m'#146#187#164#127'x'#195'{'#247#248#255#223#251#190 - +#239'}'#223#169#205#189'caBx'#241#236#137#138#198#244#238#135#241#201'_'#189 - +#191'4'#158#26#155'y'#8#134#10','#172#157#12#244#199#18'XX;'#161#190'S'#13'I' - +#227#146#15#21#136#162#190'S'#157#188'@'#146#170'{'#161#15'"'#238#173'8'#234 - +#143#138'k?El'#238#29#203'$'#208#229'!j'#215#222'A0'#201'WL'#225'DpY['#131 - +#236#254'srq'#242#149#200#232'w'#157'a'#169#7#192#231#233')'#16#9#236#175#7 - +#128#238#216#226#21#205#204#5'2'#159#152#2']'#17#217'X]'#167#217'i0'#155#205 - +#179#181#187#141'c'#139'*'#154#25'YZ,'#133'y'#135'G_'#248'V'#251#165#146'lr~' - +'kw'#187'5'#155#205#3'`'#174',cX'#170#253#168'T'#236'#'#7#226'w'#16#237#4#160 - +#217'iP'#219#127#205#211'r9$7,'#165'9'#182'xWN'#242'(hv'#26#23#252#246#207 - +#223#255#197#239'9'#182#252#24#171#131'.'#145#187#177#186#174#5'BBm'#255#224 - +#143'cK'#186'7'''#145#128'a)Mo'#165']'#247'vP'#177#185#178#12#192#153#211#224 - +'M'#253#19#142'-'#225#211#153'h'#146#245'V'#218'-'#23#230#169#204#5#167#166 - +'}~'#10#128'73'#213#151#27'['#160'hf'#164'\'#152#15#253#202'\'#137#195#163#15 - +'~'#251#252#148'['#185';,-V0,'#21'.K'#172'%*'#152'iI'#209#247#227#0#192#244 - +']'#159#234#227#135#161#255#246#221'G'#190#190'tU'#146'A+8'#182'|'#143#196'r' - +'Z*u'#230#249'>'#0'74'#141#153#236'M'#0#254#1#147#1'M'#220#4#245'Q'#0#0#0#0#0 - +'IEND'#174'B`'#130 -]); -LazarusResources.Add('TSCELLCOMBOBOX','PNG',[ - #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 - +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#26 - +#23#4'-'#148'N}'#145#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCopyr' - +'ight'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9'tEX' - +'tSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 - +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 - +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2'g' - +'IDATH'#137#181#149'QHSQ'#24#199#127'g'#155#137'h'#140#156#169#144#17'2B'#232 - +'A1'#139#5'Y'#129#198#194#196#30#10'}'#176#151'F'#209#160'(j'#164'w'#190'E' - +#16#204#22#190#248'f'#193#237'eA'#134'/'#3'['#248' N'#5'_'#162'p'#132#15#134 - +#141'HJ%)mdQ'#247#158#30#134'k'#186#187#155'['#249#135#203#189#231';'#223#249 - +'~'#231';'#247#156#239#8')%'#219')'#203#182'F'#7'l'#0'~'#127#255#127'K#'#16 - +#184'&2'#0'I'#200#249'<'#130#133'6'#140#155#142#205#224#247#247#203't'#136'-' - +'}@S'#147'{'#203#193'GGGR'#223'eeeh'#186'dll'#2#128#232#248#164'?5x'#224#30#193'",xCm'#0#12#169 - +#128#138#212#145#230'Kt'#171'['#201'46'#195#13#143#143#165#196'<'#229'%U'#244 - +#14#244#209#173#244#240#181'n'#134'3'#173#181')'#183#240'p'#140'9uM'#152#2 - +#238#223#235#205#176'}'#254#254#137#219#143#188'\'#189'p'#17#0'Og'#7#131#5#17 - +#142#238#222#191'!'#248#27#245'[f'#169'X'#215#193'C'#245'f\'#154#27#223'R' - +#127#215#129'r'#217'GyI'#21#29#237'-'#168#143#7'9'#187#215'Ex8'#198'C'#207#8 - +#213']'#194#26#15'J'#237#159'J'#197'Rb~C{'#249#253'Z'#242#189#182'@<('#181 - +#172#25#172#203#236#28#236#162#1'U>E'#241#222'd)1'#143#167#179#157#208'`'#152 - +'s'#21'A'#28'E'#149')'#191#188#206#129'.5\'#190'} $'#189#3'}x:;'#0'A'#235#225 - +#6#158'L]'#167#133#9's@z'#225'3'#210#208#162#130#203'Y'#131#173'X'''#250'!' - +#198#242#202'"'#14'{'#5'ZiA'#134#175'0'#186#244#163#227#147'Y'#175#208'K'#170 - +#27#151#179'&9'#187'b'#29#128#241#143#175'i;}'#12#135#189#130#229#149'E'#194 - +#195'Q'#226'A)'#178#2#178#201#233')'#146#22#132'a_'#225#30#157#230#147'GR' - +#237#200#243'If'#3#191'DN'#0#128#234'.'#225#140#7#229#220'&'#155#221'j'#177 - +'|'#209#244'dF;'#172'VJKv'#2#240#27#31#144#219'n'#231#139#204#3#0#0#0#0'IEND' - +#174'B`'#130 -]); -LazarusResources.Add('TSSPREADSHEETINSPECTOR','PNG',[ - #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 - +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 - +#22#6#18#187#213#144#146#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtC' - +'opyright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9 - +'tEXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0 - +#8'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0 - +#8'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2 - +'0IDATH'#137#205#149#207'K'#147'q'#28#199'_'#223'=3E'''#3#7'z'#200#136#177 - +#134'A4'#233#16'K'#202#237#144'`"I'#5'u0'#8#23#209#169'_Hk'#187'u'#221#26'x' - +#176#155#151#141' '#15#193' $Y'#135#14'm'#250#15#248'H'#151'T'#134'4'#132#13 - +#132'FC'#163'|'#158'o'#135#185#181#31#250#204#153#129'o'#248#30#158#239#231 - +#253'|^'#159#247#243#253#194'#'#164#148#252'O'#153#1#130#193#215'GF'#9#133#30 - +#139':'#0#192#200#136#139'DB%'#24#188#203#210#210'r'#221#139#253#253#231#247 - +#220'/)'#145'P'#1'XH'#166#228#160#215'S'#134#152'k'#13#161#208'['#195#6'MKJI' - +' 0-'#141#212#168'^'#233'K}NJ)%'#165'e'#174#132#185'\'#174#186#1'TU5'#172#215 - +'zjU'#5'02'#30#164#222#16'p'#152#4#141#160#199'?A#'#240#241'Op'#228'g'#240 - +#227'g'#158#206'6'#171#161'o_@'#163#9#207']q'#178'5'#176'Jk'#11'HY\'#191'5X' - +#13#239#160#152#20#226#217#0#241#24#16'C'#2#232#200#230#18'|Y\'#193#238#23'<' - +#243'M'#146'+d'#232#182#244#18#158#153'B1)8}'#237#140#141#254#29'pn^e-'#186 - +'-'#154'>'#3'K'#219'Y^'#253#154#230#197#163''''#0#248#198#239'p'#225#165#141 - +#203'.gU'#243#149#232#150#168#251'D'#205#220'"'#187'_'#16'x8I'#183#165#151 - +#155'7'#134#136#206#190#227#214')w'#185#185#221'/'#148'tDj'#135#191'E'#195 - +#144'+d'#170#188#155#223#182'K'#240#211#233#136'\'#255#167#4#0'g'#2'f'#158'?' - +'xJ'#174#144#193'7~'#155'7'#179#239#137'N|b'#208#235'Y/yL'#134#29#247#145#166 - +'k8}'#237'h'#186'FxfjwW06p'#145'{'#31#188'U'#222'r'#130#133'd'#202#176'ie' - +#253'~'#236#26'nG'#31#230#14#157#228#134#202'f>'#139#205#218#131#214#213'R' - +#247#158#144'R6'#245'O'#142'g'#3#184#29'}'#197#233':t'#0'R'#27#203'\'#31#245 - +'`'#179#246#176#153#207'27'#159'$'#29#145#162#12#216#157#176'!d"6'#140#9#177 - +'g'#173#245#164#206#213#161'K'#229#231#196#199'E'#190#134'vD'#25'pP'#217#253 - +#194#145#142#200#181#154'='#171'b2}'#215#244'b'#162#19#138'B'#151#165#19#128 - +'?'#210#139'M'#214#143'O'#217#253#0#0#0#0'IEND'#174'B`'#130 -]); -LazarusResources.Add('TSFONTNAMECOMBOBOX','PNG',[ - #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 - +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 - +#22#5#3#250'H'#227#163#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCop' - +'yright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9't' - +'EXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 - +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 - +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2 - +#145'IDATH'#137#181#149'_HSQ'#28#199'?w['#133'9'#155'sC'#141#132#144'a'#131 - +#30#140'"0('#18#214#182#8#209#168#208#192#130#24#4#210'CP'#130'8'#233#173#167 - +#137#224#139#208#131#9#171#7#233#201#4#193','#255#229'te'#15#162'8B'#168#144 - +'=$'#162#194#216#4'i'#15#185'{z'#152#222#246#231#186#221'I}'#225'r'#207#239 - +'w'#206#249'~'#206#239#220#195'='#146#16#130#255')'#3#128#215#219#247#207'(>' - +#223'c)'#11#144#132#220';'#132#217'`'#218#188#229#208#10'^o'#159'H'#133#24'R' - +'''8'#28'n'#205#230#211#211#227'J'#219'j'#181#146#144#5'33s'#0#4'f'#131#162 - +#254#234#21')'#11#144':'#169#16'uvva2'#153'T'#251#12#170#217#2#180#28'Z'#193 - +'}'#253#198#129#253#10#192#231#27'T'#146'z'#253#134'F'#251'J'#198#222'-'#229 - +#28'aH'#154#255#253'(^o'#159#200#181#162'|'#202#4#170'n'#209#185#218#179'9M' - +#204'fKZ'#28#141'F'#10#3'hQ'#170'i.'#233#14#11#208#170#3'+('#205#216#134'}' - +#197#246'V'#190#191'M'#249'*Q'#5',.,'#193#196'$'#14#151#147#233#137'I%'#239 - +'p9'#249#244'%'#8#192#212'^~qA'#195')'#202#167'}'#144#127#232#5#207#167'nb' - +#239#130'GSN'#132#128#223#9'x'#233#30'G'''#233'h'#27'l'#4'`'#200#15#248#17'2' - +'"?'#192#225'r*'#237#211''''#206#0#240#196#211#206#214#206#26#229#198'*'#186 - +#251'{'#21#243#166#134'Ze'#236#200'h'#136'U'#127'\R'#5'\'#184'x^i'#199#162#17 - +'J'#205#22'%'#247#193#254#149#187#3#245#180#221#127#0#128#167#181#133#246#225 - +'f.'#215#214#164#153#255#240#255#146'@'#227')'#138#165'|'#200#242#146#147'||' - +#250#157#238#254#222'dl'#172#226#246'-'#23#129#245#144'b>'#224#25#167#186'C' - +#210#131#134'STj'#182#164#1'R'#181#181#179#150#22'G~'#198#147#239#248#6#225 - +#30#145#200'YA,'#26'Q'#30'5-='#139#240#250#205#16#229#198'*'#0'<'#173#205#204 - +'o}'#227'NE7'#150#162'Je'#156#148'yej'#185#221#4'2o7'#187#216#181#198#247#204 - +'['#146#139#10#175'1<'#255#153'W'#141's'#168#222#7#144#252#241#5'f'#131'9!' - +#15#253'n'#234'lv'#12#197'2'#129#245#16#145#237'M,'#166#10#18'eG'#178#198'fU' - +#144'O5'#158#227#162#206'f'#7#192'P,'#3#16'X'#15#201'M'#13#245':'#139#169#130 - +#200#246'&#'#163#1#194'=B*'#24'`'#243#20#9#29#146'j'#223#177'S2'#215#156#151 - +#148'x'#236'}'#144#239#190']'#169#224#10#170';$['#184'G'#172'f'#228'Lz'#157 - +'.'#150#144#147#21#29#213#235')3'#150#0#240#7#211#238#251'KG'#198#231#222#0#0 - +#0#0'IEND'#174'B`'#130 -]); -LazarusResources.Add('TSFONTSIZECOMBOBOX','PNG',[ - #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 - +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#24 - +#22#4'4['#238'w'#237#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCopyr' - +'ight'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9'tEX' - +'tSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 - +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 - +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2'|' - +'IDATH'#137#181#149'_HSQ'#28#199'?'#247'n'#21#230'd'#165#195#25#249#160#12#19 - +'zX'#20#129'A'#209#192'j'#17#162'P'#161#129#13'b HA`'#130'8'#233#173#167#141 - +#129'/'#190#153#176#130'IO*'#8'f'#9'-'#167#146'/'#145'8B'#200#144'-'#18'Qa' - +#169'a'#237'!wO'#15#147#219#254#220#253#179#250#190#220#251#251#157#223#249 - +'~'#206#239#30#238'9'#146#16#130#255')='#128#203'5'#240#207'(n'#247'C)'#3#144 - +#128#220'='#128#217'p'#202#188#197#208#18'.'#215#128'H'#134#232#147'''46'#218 - +#11'6'#15#4#166#212'w'#147#201'D\'#17'LO'#207#2#16#156#153#19#182#203#151#164 - +#12'@'#242#164'b'#212#219#219#135#209'h'#212#28#211'kf'#139#208'bh'#9#251#245 - +#27'Y'#199'U'#128#219'='#172'&u'#186#245#2#237#171#152'|'#185#144#179'B'#159 - +'0'#255#179').'#215#128#200#181#162'|J'#7'j~'#162'3'#214#211#212'8'#142'k'#26 - +'D'#252'['#212'8'#202#147#226'o'#197#3#10'Q'#186'q6'#229#5'D'#252'['#154#249 - +#26#199'1"'#254#237#188#0#185#160'eh'#130#243#155'C'#150#14'>'#188'_'#0#26#1 - +'R'#246'b'#180'+@l'#239#7#208#178'_s@@6}'#249#190#204#147#249#7'TY'#225#254 - +#27#16#2'~'#197#225#169'}'#10'Y'#146#233#28'n'#6'`'#196#7#248#16#10'"?`'#180 - +'+'#144#20#157#2#160#203#217#205#230#238'*'#149#134'j<'#131#253#170'yK'#147 - +'U'#173#28#159#8#177#226#139'I'#154#128's'#231#207'j'#190#3#188#174#255#200 - +#157'!'#27#157#142'{'#0'8'#219#219#232#30'k'#229#162#181'.'#197#252#179#239 - +#167#4#7#216#228#202#178#19#188'}'#180#140'g'#176'?'#17#27#170#185'u'#243#26 - +#193#181#144'j>'#228#156#162#182'G'#210#193'_'#158'E'#155#187#171')q'#244'k,' - +#241#140#173#19#246#138'x'#206#14'"'#254#173#172#255#0#192#194#227'('#207'_' - +#140'Pi'#168#6#192#217#222#202#252#230'''n'#155'=T'#148'T'#169'uR'#250#149'Y' - +#200#237'&P'#24#221#232'c'#207#20#219'7o'#3'`;'#188#202#216#252';'#158'5'#207 - +#162'y'#31'@'#226#224#11#206#204#229#132't'#248#236'4X'#234#209#151'*'#4#215 - +'BDw6'#168'0'#154#137#151#31#202#168#205#232' '#159#234#156'GE'#131#165#30#0 - +'}'#169#2'@p-'#164#180'4'#217#228#10#163#153#232#206#6#227#19'A'#194'^!'#21 - +#13#176'8K'#132#140#164'9v'#228#164#194#149#171#23#212'x'#242#213#28#203#238 - +'='#169#232#14'j{$K'#216'+V'#210'rF'#157',o'#199#149'DG'#135'u:'#202#13'e'#0 - +#252#6#220#238#237#171#181#167#226'@'#0#0#0#0'IEND'#174'B`'#130 +LazarusResources.Add('cur_dragcopy','CUR',[ + #0#0#2#0#1#0' '#0#0#0#0#0#0'0'#1#0#0#22#0#0#0'('#0#0#0' '#0#0#0'@'#0#0#0#1#0 + +#1#0#0#0#0#0#0#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#21'T'#0#0#8#2 + +#0#0#16#0#0#0#8#2#0#0#16#128#0#0#8#194#0#0#21#148#0#0#9#170#0#0#3#0#0#0'C'#0 + +#0#0'f'#0#0#0'~'#0#0#0'~'#0#0#0#127#192'p'#0#127#128'P'#0#127#0'P'#0'~'#0'P' + +#0'|'#7#223#0'x'#4#1#0'p'#7#223#0'`'#0'P'#0'@'#0'P'#0#0#0'P'#0#0#0'p'#0#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#234#170#255#255#224#1#255#255#231#252#255 + +#255#231#253#255#255#231'|'#255#255#230#29#255#255#230#28#255#255#224'!'#255 + +#255'd'#0#255#255'8'#127#255#255#24#127#255#255#0#255#255#255#0#255#255#255#0 + +#15#255#255#0#31#143#255#0'?'#143#255#0#127#143#255#0#255#143#255#1#248#0#255 + +#3#248#0#255#7#248#0#255#15#255#143#255#31#255#143#255'?'#255#143#255#127#255 + +#143#255 ]); diff --git a/components/fpspreadsheet/source/visual/fpspreadsheetgrid.pas b/components/fpspreadsheet/source/visual/fpspreadsheetgrid.pas index 14e11ef78..39d705bc5 100644 --- a/components/fpspreadsheet/source/visual/fpspreadsheetgrid.pas +++ b/components/fpspreadsheet/source/visual/fpspreadsheetgrid.pas @@ -812,10 +812,8 @@ var {@@ Tolerance for mouse for hitting cell border } CELL_BORDER_DELTA: Integer = 4; - (* {@@ Cursor for copy operation during drag and drop } crDragCopy: Integer; - *) procedure Register; @@ -2181,6 +2179,7 @@ var gc, gr: Integer; dc, dr: Integer; sel: TsCellRange; + dragMove: Boolean; begin inherited; Unused(AState); @@ -2205,6 +2204,13 @@ begin FOldDragStartRow := gr; FOldDragStartCol := gc; + // Change mouse cursor: Copy or Move + dragMove := not (ssCtrl in GetKeyShiftState); + if dragMove then + DragCursor := crDrag + else + DragCursor := crDragCopy; + if Worksheet.IsProtected then // Allow drop only if no destination cell is locked for sel in Worksheet.GetSelection do @@ -6934,9 +6940,9 @@ initialization RegisterPropertyToSkip(TsCustomWorksheetGrid, 'ColWidths', 'taken from worksheet', ''); RegisterPropertyToSkip(TsCustomWorksheetGrid, 'RowHeights', 'taken from worksheet', ''); - (* - DragCopyCursor := LoadCursorFromLazarusResource('cur_dragcopy'); - *) + + crDragCopy := 1; //201705; + Screen.Cursors[crDragCopy] := LoadCursorFromLazarusResource('cur_dragcopy'); finalization