diff --git a/components/rx/docs/WhatsNew.eng.txt b/components/rx/docs/WhatsNew.eng.txt
index 97c36056f..f6e93a860 100644
--- a/components/rx/docs/WhatsNew.eng.txt
+++ b/components/rx/docs/WhatsNew.eng.txt
@@ -4,7 +4,9 @@
- Fix error in TDBComboBox.EditingDone if DataSet = nil
- new code for align button on TToolPanel
+ property OnUTF8KeyPress now published
-
+ + New value for ToolPanel.ToolBarStyle - tbsNative - for draw buttons used standart theme from OS
+ + fix options dialog for TToolPanel
+ + In TRxDateEdit add new property - ValidDate. Check valid input.
22.05.2008 - version 2.0.0.136 (svn revision 100)
+ In TRxCustomDBLookupCombo add check for CircularDataLink
+ in TRxCustomDBLookupCombo accelerated drawing data
diff --git a/components/rx/docs/WhatsNew.rus.txt b/components/rx/docs/WhatsNew.rus.txt
index fde1d6c82..aa653b668 100644
--- a/components/rx/docs/WhatsNew.rus.txt
+++ b/components/rx/docs/WhatsNew.rus.txt
@@ -7,6 +7,7 @@
+ Свойство ToolPanel.ToolBarStyle теперь может принимать значение tbsNative - для отрисовки кнопок используется
текущая тема
+ Доработано окно настройки панели инструментов
+ + У компоненты TRxDateEdit добавлено свойствой - ValidDate. Определяет коректность введённой даты.
22.05.2008 - версия 2.0.0.136 (svn revision 100)
+ У объекта TRxCustomDBLookupCombo введён контроль на CircularDataLink
+ У объекта TRxCustomDBLookupCombo ускорена отрисовка данных
diff --git a/components/rx/images/TRXSPINBUTTON.png b/components/rx/images/TRxSpinButton.png
similarity index 100%
rename from components/rx/images/TRXSPINBUTTON.png
rename to components/rx/images/TRxSpinButton.png
diff --git a/components/rx/images/TRXSPINEDIT.png b/components/rx/images/TRxSpinEdit.png
similarity index 100%
rename from components/rx/images/TRXSPINEDIT.png
rename to components/rx/images/TRxSpinEdit.png
diff --git a/components/rx/images/rx.lrs b/components/rx/images/rx.lrs
index 65334a61c..8d54a231f 100644
--- a/components/rx/images/rx.lrs
+++ b/components/rx/images/rx.lrs
@@ -268,39 +268,188 @@ LazarusResources.Add('TRXLABEL','XPM',[
+'.............",'#10'"........................"};'#10
]);
LazarusResources.Add('tautopanel','XPM',[
- '/* XPM */'#10'static char *tautopanel_xpm[] = {'#10'/* width height num_colo'
- +'rs chars_per_pixel */'#10'" 24 24 8 1",'#10'/* colo'
- +'rs */'#10'"` c #808000",'#10'". c #808080",'#10'"# c #ffffff",'#10'"a c #ff'
- +'0000",'#10'"b c #000000",'#10'"c c #000000",'#10'"d c #000000",'#10'"e c #0'
- +'00000",'#10'/* pixels */'#10'"````````````````````````",'#10'"`````````````'
- +'```````````",'#10'"``...................```",'#10'"``.#################`#``'
- +'",'#10'"``.#````````````````.#``",'#10'"``.#````````````````.#``",'#10'"``.'
- +'#````````````````.#``",'#10'"``.#aa``````````````.#``",'#10'"``.a``a```````'
- +'a`````.#``",'#10'"``.a``a```````a`````.#``",'#10'"``.a``a`a``a`aaa```aa#``"'
- +','#10'"``.aaaa`a``a``a```a`.a``",'#10'"``.a``a`a``a``a```a`.a``",'#10'"``.a'
- +'``a`a``a``a```a`.a``",'#10'"``.a``a`a``a``a```a`.a``",'#10'"``.a``a``aaa``a'
- +'a```aa#``",'#10'"``.#````````````````.#``",'#10'"``.#````````````````.#``",'
- +#10'"``.#````````````````.#``",'#10'"``.#````````````````.#``",'#10'"``.`...'
- +'..............#``",'#10'"```###################``",'#10'"``````````````````'
- +'``````",'#10'"````````````````````````"'#10'};'#10
+ '/* XPM */ '#10'static const unsigned char * tautopanel_xpm[] = {'#10'"24 24 '
+ +'5 1",'#10'" '#9'c None",'#10'"!'#9'c black",'#10'"#'#9'c #808080",'#10'"$'#9
+ +'c white",'#10'"%'#9'c #FF0000",'#10'" ",'#10'" '
+ +' ",'#10'" ################### ",'#10'" #$$$$$$$$$$$$$$'
+ +'$$$ $ ",'#10'" #$ #$ ",'#10'" #$ #$ ",'
+ +#10'" #$ #$ ",'#10'" #$%% #$ ",'#10'" #% %'
+ +' % #$ ",'#10'" #% % % #$ ",'#10'" #% % % % %%% '
+ +' %%$ ",'#10'" #%%%% % % % % #% ",'#10'" #% % % % % % #% ",'#10
+ +'" #% % % % % % #% ",'#10'" #% % % % % % #% ",'#10'" #% % %'
+ +'%% %% %%$ ",'#10'" #$ #$ ",'#10'" #$ #'
+ +'$ ",'#10'" #$ #$ ",'#10'" #$ #$ ",'#10'"'
+ +' # #################$ ",'#10'" $$$$$$$$$$$$$$$$$$$ ",'#10'" '
+ +' ",'#10'" "};'
]);
-LazarusResources.Add('TRxCalendarGrid','BMP',[
- 'BM'#150#1#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#24#0#0#0#24#0#0#0#1#0#4#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#0#0#128#0#0#128#0#0#0#128#128
- +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0
- +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0#136#136
- +#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136
- +#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#0#0
- +#0#0#0#0#8#136#136#136#136#0#0#0#0#0#0#0#8#136#136#136#136#15#255#255#255#255
- +#255#240#8#136#136#136#136#15#255#255#255#255#255#240#8#136#136#136#136#15
- +#255#255#255#255#255#240#8#136#136#136#136#15#241#17#31#241#255#240#8#136#136
- +#136#136#15#241#255#255#241#255#240#8#136#136#136#136#15#255#31#255#241#255
- +#240#8#136#136#136#136#15#255#241#255#241#255#240#8#136#136#136#136#15#241
- +#255#31#17#255#240#8#136#136#136#136#15#255#17#255#241#255#240#8#136#136#136
- +#136#15#255#255#255#255#255#240#8#136#136#136#136#15#255#255#255#255#255#240
- +#8#136#136#136#136#0#0#0#0#0#0#0#8#136#136#136#136#14#238#238#238#238#238#224
- +#8#136#136#136#136#14#14#238#238#238#224#224#8#136#136#136#136#0#0#0#0#0#0#0
- +#136#136#136#136#136#128#136#128#136#128#136#128#136#136#136#136#136#136#0#8
- +#136#136#0#8#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136#136
- +#136#136#136#136#136#136#136#136#136#136#136
+LazarusResources.Add('TRxCalendarGrid','XPM',[
+ '/* XPM */'#10'static char *TRxCalendarGrid[]={'#10'"24 24 5 1",'#10'". c Non'
+ +'e",'#10'"# c #000000",'#10'"a c #00ffff",'#10'"c c #800000",'#10'"b c #ffff'
+ +'ff",'#10'"........................",'#10'"........................",'#10'".'
+ +'.....###.....###.......",'#10'".....#...#...#...#......",'#10'"....########'
+ +'######......",'#10'"....#a#aaaaaaaa#a##.....",'#10'"....#aaaaaaaaaaaa##....'
+ +'.",'#10'"....###############.....",'#10'"....#bbbbbbbbbbbb##.....",'#10'"..'
+ +'..#bbbbbbbbbbbb##.....",'#10'"....#bbbccbbbcbbb##.....",'#10'"....#bbcbbcbc'
+ +'cbbb##.....",'#10'"....#bbbbcbbbcbbb##.....",'#10'"....#bbbcbbbbcbbb##.....'
+ +'",'#10'"....#bbcbbbbbcbbb##.....",'#10'"....#bbccccbbcbbb##.....",'#10'"...'
+ +'.#bbbbbbbbbbbb##.....",'#10'"....#bbbbbbbbbbbb##.....",'#10'"....#bbbbbbbbb'
+ +'bbb##.....",'#10'"....###############.....",'#10'"......#############....."'
+ +','#10'"........................",'#10'"........................",'#10'"....'
+ +'...................."};'#10
+]);
+LazarusResources.Add('TRxDateEdit','PNG',[
+ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#3#0#0#0#215#169#205
+ +#202#0#0#3#0'PLTE'#1#0#0#0#0#0#128#0#0#128#128#0#0#0#128#128#0#128#0#128#128
+ +#128#128#128#192#192#192#255#0#0#0#255#0#255#255#0#0#0#255#255#0#255#0#255
+ +#255#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#0#0#0#0#0#0#0#0#0#0#0#0#0#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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#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#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#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#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#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
+ +#0#0#0#0#0#0','#144#198'\'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0#136'IDATx'#218
+ +'u'#145#139#10#128' '#12'E7'#130#22#132#254#255'o'#166#4'M'#8#155'R'#168'k*l'
+ +'x'#207'^*'#194'd!'#144'%s'#1#233#175#251#163#2#223#2#233'u'#192'b3Z'#128
+ +#129'z'#16't'#151#252#1#31#246#166#158'>T@e<#c'#19''#161#186'G~'#5#194'!'
+ +#137'z@'#220#233#3#232'+)'#16#29'D98'#13#162'H'#194#166#25'+Y'#0#170'5'#128
+ +#188'V2z'#128#179'K'#217#227#242'r'#203#134'b'#238#225#230#147#183#210#31#159
+ +'Ud['#15'h'#23'Z'#25#23#189'C'#28#0#0#0#0'IEND'#174'B`'#130
+]);
+LazarusResources.Add('TRxClock','PNG',[
+ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#3#0#0#0#215#169#205
+ +#202#0#0#3#0'PLTE'#1#0#0#0#0#0#0#128#0#128#128#0#0#0#128#128#0#128#0#128#128
+ +#128#128#128#192#192#192#255#0#0#0#255#0#255#255#0#0#0#255#255#0#255#0#255
+ +#255#255#255#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0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#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#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#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#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#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#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#0#0#0#0#0#0#0#0#0#0#0
+ +#0#0#0#0#0#0'IF'#160'|'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0#132'IDATx'#218
+ +#157#146#193#14#128' '#12'C'#187#19#254#255#215#202#169'2'#6#172'j8('#9#4#246
+ +'h'#10#20#195#166#217'?`'#160'V8'#129#29'8'#25'[8'#22#29#180')N'#160'8'#168
+ +#128#175#152#192#203#181#15#9#188#199#246')'#226'2/'#171#234'3B'#193'R'#8'h'
+ +#245#154#30'%'#136#165'`*'#20'T'#164#2#229#165#184#153#168'G'#24#136'GJ'#30
+ +#167#218#223'cH'#6#163#230'ay*jP>'#206#135#130'('#172#7'1'#242#0#196'|'#147
+ +#224#183#207'p'#1#206#241'B'#25'c'#4#211#189#0#0#0#0'IEND'#174'B`'#130
+]);
+LazarusResources.Add('TRxSpeedButton','PNG',[
+ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#3#0#0#0#215#169#205
+ +#202#0#0#3#0'PLTE'#1#0#0#0#0#0#128#0#0#128#128#0#0#0#128#128#0#128#0#128#128
+ +#128#128#128#192#192#192#255#0#0#0#255#0#255#255#0#0#0#255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#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#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#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#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#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#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#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#0#0#0#0#0#0
+ +#0#0#0#0#0#0','#144#198'\'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0#173'IDATx'#218
+ +'}'#146#209#14#195' '#8'E/mWX'#154#253#255#135#246'E'#172'+'#131#166#217'tu3'
+ +#198#135's@'#8'J'#248#177#8#224#14'V'#23',W'#158#178#133#208#139#176#139' '
+ +#204#218#21#167#169#133'='#253#152#202#13'a*Q'#2'{'#139#24'v'#171'3<~'#196
+ +#224#212'w'#147#225#9#163#172#247'}'#192#222#214'8'#4#214#7'2'#172#233'jJ'
+ +#178#137#242#202#248#234#170'8'#135#26'e'#182'25'#25#155'$Id'#200'Kj'#132#5
+ +#247#2'Q'#170'T'#226#228#139#159#178#209'G'#152#215#13'~'#12#165'T])'#191'y'
+ +#196'Wb'#246#235#185'7v'#253'zF'#251#255'P'#189#175#16#2#212#17#214#165#199
+ +'z'#1'i'#21#144#25#14'l'#154#14#0#0#0#0'IEND'#174'B`'#130
+]);
+LazarusResources.Add('TRxSpinButton','PNG',[
+ #137'PNG'#13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#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#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#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#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#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#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#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#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#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#0#0#0#0#0#0#0#0#0#0#0#0#0
+ +#0#0#0#0#0#0#200'7q|'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0'wIDATx'#218#173#210
+ +#189#14#128' '#12#4#224#178#224#198#251'?'#167#19#215#5'M9'#180#252#24#19#163
+ +#11#201'}'#205#137'H'#144#135'''|'#130#25#11'!u)pC'#246#29'H'#187#7#149#216
+ +'r'#192#129#158'k'#172'y'#14#14#212#166#163#229#226#129'U'#150'/'#160#230'30'
+ +#31#160#246#176#176#3#155'_@'#237#153#129#243#182'i'#15'|'#175#242'c.'#0#247
+ +'3Vm'#24#142#177#129'$'#244#7'_^~'#212'O'#151#225#0'g$X'#25']'#5'r'#173#0#0#0
+ +#0'IEND'#174'B`'#130
+]);
+LazarusResources.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#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#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#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#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#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#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#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#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#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#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#0#200'7q|'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0'kIDATx'#218#189#145
+ +'A'#11#192' '#8#133#237#226#6#131#253#255#223'9'#8#182'wij'#130'c'#213#161'K'
+ +#217'A'#222'G'#234#179'D'#131#147#214#128#189'#'#223#6'6'#203#175'S'#130'-'#5
+ +#149#15#16'B'#2#160#23#14#178#234#135#1#16'q'#23'h!y'#19#165#242#0#136#238'='
+ +'T'#15#160'z4'#159#3#168's'#181'>'#192#191#169#220'9'#185#245#10#158'vWe'#213
+ +'GM'#130#23#211'$E'#25#128#18#229'#'#0#0#0#0'IEND'#174'B`'#130
]);
diff --git a/components/rx/registerrx.pas b/components/rx/registerrx.pas
index 7fec585b7..12fedebbc 100644
--- a/components/rx/registerrx.pas
+++ b/components/rx/registerrx.pas
@@ -15,7 +15,7 @@ uses
curredit, rxswitch, rxdice, rxdbcomb, rxtoolbar, rxxpman, PageMngr, RxAppIcon,
Dialogs, ComponentEditors, seldsfrm, DBPropEdits, DB, rxctrls, RxLogin,
RxCustomChartPanel, AutoPanel, pickdate, rxconst, tooledit, rxclock,
- rxceEditLookupFields, rxpopupunit;
+ rxceEditLookupFields, rxpopupunit, rxspin;
type
@@ -271,6 +271,11 @@ begin
RegisterComponents('RX',[TRxClock]);
end;
+procedure RegisterRxSpin;
+begin
+ RegisterComponents('RX',[TRxSpinButton, TRxSpinEdit]);
+end;
+
procedure Register;
begin
//RX
@@ -290,6 +295,7 @@ begin
RegisterUnit('pickdate', @RegisterPickDate);
RegisterUnit('tooledit', @RegisterToolEdit);
RegisterUnit('rxclock', @RegisterRxClock);
+ RegisterUnit('rxspin', @RegisterRxSpin);
//RX DBAware
RegisterUnit('dbdateedit', @RegisterUnitDBDateEdit);
diff --git a/components/rx/rx.lrs b/components/rx/rx.lrs
index db80657f1..8d54a231f 100644
--- a/components/rx/rx.lrs
+++ b/components/rx/rx.lrs
@@ -268,21 +268,19 @@ LazarusResources.Add('TRXLABEL','XPM',[
+'.............",'#10'"........................"};'#10
]);
LazarusResources.Add('tautopanel','XPM',[
- '/* XPM */'#10'static char *tautopanel_xpm[] = {'#10'/* width height num_colo'
- +'rs chars_per_pixel */'#10'" 24 24 8 1",'#10'/* colo'
- +'rs */'#10'"` c #808000",'#10'". c #808080",'#10'"# c #ffffff",'#10'"a c #ff'
- +'0000",'#10'"b c #000000",'#10'"c c #000000",'#10'"d c #000000",'#10'"e c #0'
- +'00000",'#10'/* pixels */'#10'"````````````````````````",'#10'"`````````````'
- +'```````````",'#10'"``...................```",'#10'"``.#################`#``'
- +'",'#10'"``.#````````````````.#``",'#10'"``.#````````````````.#``",'#10'"``.'
- +'#````````````````.#``",'#10'"``.#aa``````````````.#``",'#10'"``.a``a```````'
- +'a`````.#``",'#10'"``.a``a```````a`````.#``",'#10'"``.a``a`a``a`aaa```aa#``"'
- +','#10'"``.aaaa`a``a``a```a`.a``",'#10'"``.a``a`a``a``a```a`.a``",'#10'"``.a'
- +'``a`a``a``a```a`.a``",'#10'"``.a``a`a``a``a```a`.a``",'#10'"``.a``a``aaa``a'
- +'a```aa#``",'#10'"``.#````````````````.#``",'#10'"``.#````````````````.#``",'
- +#10'"``.#````````````````.#``",'#10'"``.#````````````````.#``",'#10'"``.`...'
- +'..............#``",'#10'"```###################``",'#10'"``````````````````'
- +'``````",'#10'"````````````````````````"'#10'};'#10
+ '/* XPM */ '#10'static const unsigned char * tautopanel_xpm[] = {'#10'"24 24 '
+ +'5 1",'#10'" '#9'c None",'#10'"!'#9'c black",'#10'"#'#9'c #808080",'#10'"$'#9
+ +'c white",'#10'"%'#9'c #FF0000",'#10'" ",'#10'" '
+ +' ",'#10'" ################### ",'#10'" #$$$$$$$$$$$$$$'
+ +'$$$ $ ",'#10'" #$ #$ ",'#10'" #$ #$ ",'
+ +#10'" #$ #$ ",'#10'" #$%% #$ ",'#10'" #% %'
+ +' % #$ ",'#10'" #% % % #$ ",'#10'" #% % % % %%% '
+ +' %%$ ",'#10'" #%%%% % % % % #% ",'#10'" #% % % % % % #% ",'#10
+ +'" #% % % % % % #% ",'#10'" #% % % % % % #% ",'#10'" #% % %'
+ +'%% %% %%$ ",'#10'" #$ #$ ",'#10'" #$ #'
+ +'$ ",'#10'" #$ #$ ",'#10'" #$ #$ ",'#10'"'
+ +' # #################$ ",'#10'" $$$$$$$$$$$$$$$$$$$ ",'#10'" '
+ +' ",'#10'" "};'
]);
LazarusResources.Add('TRxCalendarGrid','XPM',[
'/* XPM */'#10'static char *TRxCalendarGrid[]={'#10'"24 24 5 1",'#10'". c Non'
@@ -299,52 +297,159 @@ LazarusResources.Add('TRxCalendarGrid','XPM',[
+','#10'"........................",'#10'"........................",'#10'"....'
+'...................."};'#10
]);
-LazarusResources.Add('TRxDateEdit','BMP',[
- 'BM'#150#1#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#24#0#0#0#24#0#0#0#1#0#4#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#0#0#128#0#0#128#0#0#0#128#128
- +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0
- +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0'3333333'
- +'33333333p'#0#0#0#0#0#0#0#3'333x'#136#136#136#136#136#136#136#3'333x'#128'@@'
- +'D'#4#4#8#3'333x'#143#255#255#255#255#255#248#3'333x'#143#241#17#241#17#143
- +#248#3'333x'#143#255#31#248#248#31#248#3'333x'#143#255#31#255#255#31#248#3'3'
- +'33x'#143#255#31#241#17#143#248#3'333x'#143#241#31#241#255#255#248#3'333x'
- +#143#255#31#241#17#31#248#3'333x'#143#255#255#255#255#255#248#3'333x'#143#136
- +#136#136#136#136#248#3'333x'#128#0#0#0#0#0#8#3'7'#255#255'x'#136#136#136#136
- +#136#136#136#3'7'#8#136#0#0#0#0#0#0#0#0#3'7'#15#255#15#12#204#204#204#204#204
- +#15#3'7'#15#255#0#0#0#0#0#0#0#0#3'7'#15#255#255#255#255#248#248#0#135#143'37'
- +#15#255#255#255#255#248#248#136#135#143'37'#15#255#255#255#255#248#255#255
- +#255#143'37'#0#0#0#0#0#0#0#0#0#15'37wwwwwwwwww3333333333333'
+LazarusResources.Add('TRxDateEdit','PNG',[
+ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#3#0#0#0#215#169#205
+ +#202#0#0#3#0'PLTE'#1#0#0#0#0#0#128#0#0#128#128#0#0#0#128#128#0#128#0#128#128
+ +#128#128#128#192#192#192#255#0#0#0#255#0#255#255#0#0#0#255#255#0#255#0#255
+ +#255#255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
+ +#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#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#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#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#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#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#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#0#0#0','#144#198'\'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0#136'IDATx'#218
+ +'u'#145#139#10#128' '#12'E7'#130#22#132#254#255'o'#166#4'M'#8#155'R'#168'k*l'
+ +'x'#207'^*'#194'd!'#144'%s'#1#233#175#251#163#2#223#2#233'u'#192'b3Z'#128
+ +#129'z'#16't'#151#252#1#31#246#166#158'>T@e<#c'#19''#161#186'G~'#5#194'!'
+ +#137'z@'#220#233#3#232'+)'#16#29'D98'#13#162'H'#194#166#25'+Y'#0#170'5'#128
+ +#188'V2z'#128#179'K'#217#227#242'r'#203#134'b'#238#225#230#147#183#210#31#159
+ +'Ud['#15'h'#23'Z'#25#23#189'C'#28#0#0#0#0'IEND'#174'B`'#130
]);
-LazarusResources.Add('TRxClock','BMP',[
- 'BM'#150#1#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#24#0#0#0#24#0#0#0#1#0#4#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#0#0#128#0#0#128#0#0#0#128#128
- +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0
- +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0'3333333'
- +'3333333333333333333'#0'333330'#3'3333'#0#3'0'#0#0'3'#0#3'33330'#0#8#136#136
- +#0#0'333333'#8#136#128#136#136#3'333330'#136#136#128#136#136#128'33333'#8#136
- +#8#136#136#8#136#3'3333'#8#136#136#136#136#136#136#3'3330'#136#8#136#136#128
- +#136#8#128'3330'#136#136#136#136#8#136#136#128'3330'#128#8#136#128#136#136#0
- +#128'3330'#136#136#136#128#136#136#136#128'3330'#136#8#136#128#136#136#8#128
- +'3333'#8#136#136#128#136#136#136#3'3333'#8#136#8#136#136#8#136#3'3330'#0#136
- +#136#128#136#136#128#0'333'#9#153#8#136#128#136#136#9#153#3'33'#9#153#0#8#136
- +#136#0#9#153#3'330'#153#3'0'#0#0'3'#9#144'3333'#0'333330'#3'3333333333333333'
- +'3333333333333333333333'
+LazarusResources.Add('TRxClock','PNG',[
+ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#3#0#0#0#215#169#205
+ +#202#0#0#3#0'PLTE'#1#0#0#0#0#0#0#128#0#128#128#0#0#0#128#128#0#128#0#128#128
+ +#128#128#128#192#192#192#255#0#0#0#255#0#255#255#0#0#0#255#255#0#255#0#255
+ +#255#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#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#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#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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#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#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#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#0#0#0#0'IF'#160'|'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0#132'IDATx'#218
+ +#157#146#193#14#128' '#12'C'#187#19#254#255#215#202#169'2'#6#172'j8('#9#4#246
+ +'h'#10#20#195#166#217'?`'#160'V8'#129#29'8'#25'[8'#22#29#180')N'#160'8'#168
+ +#128#175#152#192#203#181#15#9#188#199#246')'#226'2/'#171#234'3B'#193'R'#8'h'
+ +#245#154#30'%'#136#165'`*'#20'T'#164#2#229#165#184#153#168'G'#24#136'GJ'#30
+ +#167#218#223'cH'#6#163#230'ay*jP>'#206#135#130'('#172#7'1'#242#0#196'|'#147
+ +#224#183#207'p'#1#206#241'B'#25'c'#4#211#189#0#0#0#0'IEND'#174'B`'#130
]);
-LazarusResources.Add('TRxSpeedButton','BMP',[
- 'BM'#150#1#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#24#0#0#0#24#0#0#0#1#0#4#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#0#0#128#0#0#128#0#0#0#128#128
- +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0
- +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0'3333333'
- +'333333'#0#0#0#0#0#0#0#0#0#0'37wwwwwwwwww'#3'7'#248#136#136#136#136#136#136
- +#136#136#135#3'7'#248#128#8#136#136#136#136#136#136#135#3'7'#248#7'p'#8#136
- +#136#136#136#136#135#3'7'#248#8#247'p'#204#204#199#136#136#135#3'7'#248''
- +#143'w'#12#204#204#200#136#135#3'7'#248#135#247#247'p'#196#196#199#136#135#3
- +'7'#248#136'w'#0#0'L'#136#135#3'7'#248#136#199#247#247#135'p'#196#136#135#3
- +'7'#248#136'L'#248'x'#25#132#136#135#3'7'#248#136#196#199#248#241#153#159
- +#136#135#3'7'#248#136'DG'#255#31#249#152#136#135#3'7'#248#136'DG'#241#185#187
- +#159#136#135#3'7'#248#136'tGy'#155#153#185#248#135#3'7'#248#136#132'DH'#153
- +#153#185#136#135#3'7'#248#136#136'tDHI'#153#248#135#3'7'#248#136#136#136#136
- +#136#137#159#136#135#3'7'#248#136#136#136#136#136#153#248#136#135#3'7'#248
- +#136#136#136#136#136#136#136#136#135#3'7'#255#255#255#255#255#255#255#255#255
- +#247#3'3wwwwwwwwww3333333333333'
+LazarusResources.Add('TRxSpeedButton','PNG',[
+ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#3#0#0#0#215#169#205
+ +#202#0#0#3#0'PLTE'#1#0#0#0#0#0#128#0#0#128#128#0#0#0#128#128#0#128#0#128#128
+ +#128#128#128#192#192#192#255#0#0#0#255#0#255#255#0#0#0#255#255#0#255#0#255
+ +#255#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#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#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#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#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#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
+ +#0#0#0#0#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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#0#0#0#0#0#0#0
+ +#0#0#0#0#0#0','#144#198'\'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0#173'IDATx'#218
+ +'}'#146#209#14#195' '#8'E/mWX'#154#253#255#135#246'E'#172'+'#131#166#217'tu3'
+ +#198#135's@'#8'J'#248#177#8#224#14'V'#23',W'#158#178#133#208#139#176#139' '
+ +#204#218#21#167#169#133'='#253#152#202#13'a*Q'#2'{'#139#24'v'#171'3<~'#196
+ +#224#212'w'#147#225#9#163#172#247'}'#192#222#214'8'#4#214#7'2'#172#233'jJ'
+ +#178#137#242#202#248#234#170'8'#135#26'e'#182'25'#25#155'$Id'#200'Kj'#132#5
+ +#247#2'Q'#170'T'#226#228#139#159#178#209'G'#152#215#13'~'#12#165'T])'#191'y'
+ +#196'Wb'#246#235#185'7v'#253'zF'#251#255'P'#189#175#16#2#212#17#214#165#199
+ +'z'#1'i'#21#144#25#14'l'#154#14#0#0#0#0'IEND'#174'B`'#130
+]);
+LazarusResources.Add('TRxSpinButton','PNG',[
+ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#3#0#0#0#215#169#205
+ +#202#0#0#3#0'PLTE'#1#0#0#0#0#0#0#128#0#128#128#0#0#0#128#128#0#128#0#128#128
+ +#192#192#192#128#128#128#255#0#0#0#255#0#255#255#0#0#0#255#255#0#255#0#255
+ +#255#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#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#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#0#0#0#0#0#0#0
+ +#0#0#0#0#0#0#0#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+#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#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#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#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
+ +#0#0#0#0#0#0#200'7q|'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0'wIDATx'#218#173#210
+ +#189#14#128' '#12#4#224#178#224#198#251'?'#167#19#215#5'M9'#180#252#24#19#163
+ +#11#201'}'#205#137'H'#144#135'''|'#130#25#11'!u)pC'#246#29'H'#187#7#149#216
+ +'r'#192#129#158'k'#172'y'#14#14#212#166#163#229#226#129'U'#150'/'#160#230'30'
+ +#31#160#246#176#176#3#155'_@'#237#153#129#243#182'i'#15'|'#175#242'c.'#0#247
+ +'3Vm'#24#142#177#129'$'#244#7'_^~'#212'O'#151#225#0'g$X'#25']'#5'r'#173#0#0#0
+ +#0'IEND'#174'B`'#130
+]);
+LazarusResources.Add('TRxSpinEdit','PNG',[
+ #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#3#0#0#0#215#169#205
+ +#202#0#0#3#0'PLTE'#1#0#0#0#0#0#0#128#0#128#128#0#0#0#128#128#0#128#0#128#128
+ +#192#192#192#128#128#128#255#0#0#0#255#0#255#255#0#0#0#255#255#0#255#0#255
+ +#255#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#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#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#0#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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#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#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#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#0#0#200'7q|'#0#0#0#1'tRNS'#0'@'#230#216'f'#0#0#0'kIDATx'#218#189#145
+ +'A'#11#192' '#8#133#237#226#6#131#253#255#223'9'#8#182'wij'#130'c'#213#161'K'
+ +#217'A'#222'G'#234#179'D'#131#147#214#128#189'#'#223#6'6'#203#175'S'#130'-'#5
+ +#149#15#16'B'#2#160#23#14#178#234#135#1#16'q'#23'h!y'#19#165#242#0#136#238'='
+ +'T'#15#160'z4'#159#3#168's'#181'>'#192#191#169#220'9'#185#245#10#158'vWe'#213
+ +'GM'#130#23#211'$E'#25#128#18#229'#'#0#0#0#0'IEND'#174'B`'#130
]);
diff --git a/components/rx/rxnew.lpk b/components/rx/rxnew.lpk
index 519fc0883..50569d915 100644
--- a/components/rx/rxnew.lpk
+++ b/components/rx/rxnew.lpk
@@ -5,14 +5,11 @@
-
+
-
-
-
@@ -24,7 +21,7 @@ translate to Lazarus by alexs in 2005 - 2007
-
+
@@ -204,8 +201,12 @@ translate to Lazarus by alexs in 2005 - 2007
-
+
+
+
+
+
diff --git a/components/rx/rxtoolbar.pas b/components/rx/rxtoolbar.pas
index 55c95cab6..b70d30779 100644
--- a/components/rx/rxtoolbar.pas
+++ b/components/rx/rxtoolbar.pas
@@ -1064,10 +1064,10 @@ var
i, L:integer;
begin
inherited RequestAlign;
- if (Parent = nil) or (csDestroying in ComponentState) or (csLoading in ComponentState) or (not Parent.HandleAllocated) then
+{ if (Parent = nil) or (csDestroying in ComponentState) or (csLoading in ComponentState) or (not Parent.HandleAllocated) then
exit;
if not Parent.HandleAllocated then exit;
- ReAlignToolBtn;
+ ReAlignToolBtn;}
end;
procedure TToolPanel.Loaded;
diff --git a/components/rx/tooledit.pas b/components/rx/tooledit.pas
index b785887f4..bd2c5ef2c 100644
--- a/components/rx/tooledit.pas
+++ b/components/rx/tooledit.pas
@@ -49,6 +49,7 @@ type
function GetDate: TDateTime;
function GetPopupColor: TColor;
function GetPopupVisible: Boolean;
+ function GetValidDate: boolean;
function IsStoreTitle: boolean;
procedure SetBlanksChar(const AValue: Char);
procedure SetCalendarStyle(const AValue: TCalendarStyle);
@@ -105,6 +106,7 @@ type
procedure UpdateMask; virtual;
property Date: TDateTime read GetDate write SetDate;
property Formatting: Boolean read FFormatting;
+ property ValidDate:boolean read GetValidDate;
end;
type
@@ -374,6 +376,16 @@ begin
Result := (FPopup <> nil) and FPopupVisible;
end;
+function TCustomRxDateEdit.GetValidDate: boolean;
+begin
+ try
+ StrToDateFmt(FDateFormat, Text);
+ Result:=true;
+ except
+ Result:=false;
+ end;
+end;
+
procedure TCustomRxDateEdit.SetCalendarStyle(const AValue: TCalendarStyle);
begin
if AValue <> CalendarStyle then