Commit 2118a2c90b4a7689fac081314cd85c19a2daba64
1 parent
59f13fb3
Exists in
master
designer: fix dummy saving operation
Showing
2 changed files
with
126 additions
and
125 deletions
Show diff stats
experiment_designer/form_main.lfm
@@ -3,7 +3,7 @@ object FormDesigner: TFormDesigner | @@ -3,7 +3,7 @@ object FormDesigner: TFormDesigner | ||
3 | Height = 656 | 3 | Height = 656 |
4 | Top = 29 | 4 | Top = 29 |
5 | Width = 653 | 5 | Width = 653 |
6 | - HorzScrollBar.Page = 521 | 6 | + HorzScrollBar.Page = 346 |
7 | VertScrollBar.Page = 637 | 7 | VertScrollBar.Page = 637 |
8 | AutoScroll = True | 8 | AutoScroll = True |
9 | Caption = 'Planejar Experimento' | 9 | Caption = 'Planejar Experimento' |
@@ -18,12 +18,12 @@ object FormDesigner: TFormDesigner | @@ -18,12 +18,12 @@ object FormDesigner: TFormDesigner | ||
18 | LCLVersion = '1.6.2.0' | 18 | LCLVersion = '1.6.2.0' |
19 | object PageControl: TPageControl | 19 | object PageControl: TPageControl |
20 | Left = 0 | 20 | Left = 0 |
21 | - Height = 793 | 21 | + Height = 765 |
22 | Top = 0 | 22 | Top = 0 |
23 | Width = 643 | 23 | Width = 643 |
24 | - ActivePage = TabSheetConditions | 24 | + ActivePage = TabSheetExperiment |
25 | Align = alClient | 25 | Align = alClient |
26 | - TabIndex = 1 | 26 | + TabIndex = 0 |
27 | TabOrder = 0 | 27 | TabOrder = 0 |
28 | object TabSheetExperiment: TTabSheet | 28 | object TabSheetExperiment: TTabSheet |
29 | Caption = 'Experimento' | 29 | Caption = 'Experimento' |
@@ -32,7 +32,7 @@ object FormDesigner: TFormDesigner | @@ -32,7 +32,7 @@ object FormDesigner: TFormDesigner | ||
32 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 32 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
33 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 33 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
34 | ChildSizing.ControlsPerLine = 1 | 34 | ChildSizing.ControlsPerLine = 1 |
35 | - ClientHeight = 760 | 35 | + ClientHeight = 732 |
36 | ClientWidth = 637 | 36 | ClientWidth = 637 |
37 | object GBConditions: TGroupBox | 37 | object GBConditions: TGroupBox |
38 | Left = 0 | 38 | Left = 0 |
@@ -249,7 +249,7 @@ object FormDesigner: TFormDesigner | @@ -249,7 +249,7 @@ object FormDesigner: TFormDesigner | ||
249 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 249 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
250 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 250 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
251 | ChildSizing.ControlsPerLine = 1 | 251 | ChildSizing.ControlsPerLine = 1 |
252 | - ClientHeight = 760 | 252 | + ClientHeight = 732 |
253 | ClientWidth = 637 | 253 | ClientWidth = 637 |
254 | object ComboCurrentCondition: TComboBox | 254 | object ComboCurrentCondition: TComboBox |
255 | Left = 0 | 255 | Left = 0 |
@@ -655,14 +655,14 @@ object FormDesigner: TFormDesigner | @@ -655,14 +655,14 @@ object FormDesigner: TFormDesigner | ||
655 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 655 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
656 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 656 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
657 | ChildSizing.ControlsPerLine = 1 | 657 | ChildSizing.ControlsPerLine = 1 |
658 | - ClientHeight = 760 | 658 | + ClientHeight = 732 |
659 | ClientWidth = 637 | 659 | ClientWidth = 637 |
660 | Enabled = False | 660 | Enabled = False |
661 | object RGContingencyType: TRadioGroup | 661 | object RGContingencyType: TRadioGroup |
662 | Left = 0 | 662 | Left = 0 |
663 | - Height = 58 | 663 | + Height = 59 |
664 | Top = 10 | 664 | Top = 10 |
665 | - Width = 628 | 665 | + Width = 637 |
666 | AutoFill = True | 666 | AutoFill = True |
667 | Caption = 'Mostrar' | 667 | Caption = 'Mostrar' |
668 | ChildSizing.LeftRightSpacing = 6 | 668 | ChildSizing.LeftRightSpacing = 6 |
@@ -672,8 +672,8 @@ object FormDesigner: TFormDesigner | @@ -672,8 +672,8 @@ object FormDesigner: TFormDesigner | ||
672 | ChildSizing.ShrinkVertical = crsScaleChilds | 672 | ChildSizing.ShrinkVertical = crsScaleChilds |
673 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 673 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
674 | ChildSizing.ControlsPerLine = 1 | 674 | ChildSizing.ControlsPerLine = 1 |
675 | - ClientHeight = 41 | ||
676 | - ClientWidth = 624 | 675 | + ClientHeight = 42 |
676 | + ClientWidth = 633 | ||
677 | Items.Strings = ( | 677 | Items.Strings = ( |
678 | 'Contingências Operantes' | 678 | 'Contingências Operantes' |
679 | 'Metacontingências' | 679 | 'Metacontingências' |
@@ -683,9 +683,9 @@ object FormDesigner: TFormDesigner | @@ -683,9 +683,9 @@ object FormDesigner: TFormDesigner | ||
683 | end | 683 | end |
684 | object ComboCurrentContingency: TComboBox | 684 | object ComboCurrentContingency: TComboBox |
685 | Left = 0 | 685 | Left = 0 |
686 | - Height = 23 | ||
687 | - Top = 73 | ||
688 | - Width = 628 | 686 | + Height = 27 |
687 | + Top = 74 | ||
688 | + Width = 637 | ||
689 | ItemHeight = 0 | 689 | ItemHeight = 0 |
690 | OnChange = ComboCurrentContingencyChange | 690 | OnChange = ComboCurrentContingencyChange |
691 | Style = csDropDownList | 691 | Style = csDropDownList |
@@ -694,39 +694,39 @@ object FormDesigner: TFormDesigner | @@ -694,39 +694,39 @@ object FormDesigner: TFormDesigner | ||
694 | object PanelContingenciesButtons: TPanel | 694 | object PanelContingenciesButtons: TPanel |
695 | Left = 0 | 695 | Left = 0 |
696 | Height = 26 | 696 | Height = 26 |
697 | - Top = 101 | ||
698 | - Width = 628 | 697 | + Top = 106 |
698 | + Width = 637 | ||
699 | ChildSizing.LeftRightSpacing = 25 | 699 | ChildSizing.LeftRightSpacing = 25 |
700 | ChildSizing.HorizontalSpacing = 50 | 700 | ChildSizing.HorizontalSpacing = 50 |
701 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 701 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
702 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 702 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
703 | ChildSizing.ControlsPerLine = 3 | 703 | ChildSizing.ControlsPerLine = 3 |
704 | ClientHeight = 26 | 704 | ClientHeight = 26 |
705 | - ClientWidth = 628 | 705 | + ClientWidth = 637 |
706 | TabOrder = 1 | 706 | TabOrder = 1 |
707 | object BtnAppendContingency: TButton | 707 | object BtnAppendContingency: TButton |
708 | Left = 25 | 708 | Left = 25 |
709 | Height = 25 | 709 | Height = 25 |
710 | Top = 0 | 710 | Top = 0 |
711 | - Width = 160 | 711 | + Width = 161 |
712 | Caption = 'Adicionar' | 712 | Caption = 'Adicionar' |
713 | OnClick = BtnAppendContingencyClick | 713 | OnClick = BtnAppendContingencyClick |
714 | TabOrder = 0 | 714 | TabOrder = 0 |
715 | end | 715 | end |
716 | object BtnRemoveContingency: TButton | 716 | object BtnRemoveContingency: TButton |
717 | - Left = 235 | 717 | + Left = 236 |
718 | Height = 25 | 718 | Height = 25 |
719 | Top = 0 | 719 | Top = 0 |
720 | - Width = 156 | 720 | + Width = 158 |
721 | Caption = 'Remover' | 721 | Caption = 'Remover' |
722 | OnClick = BtnRemoveContingencyClick | 722 | OnClick = BtnRemoveContingencyClick |
723 | TabOrder = 1 | 723 | TabOrder = 1 |
724 | end | 724 | end |
725 | object BtnReorderContingency: TButton | 725 | object BtnReorderContingency: TButton |
726 | - Left = 441 | 726 | + Left = 444 |
727 | Height = 25 | 727 | Height = 25 |
728 | Top = 0 | 728 | Top = 0 |
729 | - Width = 162 | 729 | + Width = 168 |
730 | Caption = 'Reordenar' | 730 | Caption = 'Reordenar' |
731 | OnClick = BtnReorderContingencyClick | 731 | OnClick = BtnReorderContingencyClick |
732 | TabOrder = 2 | 732 | TabOrder = 2 |
@@ -736,24 +736,24 @@ object FormDesigner: TFormDesigner | @@ -736,24 +736,24 @@ object FormDesigner: TFormDesigner | ||
736 | object LabelContingencyName: TLabel | 736 | object LabelContingencyName: TLabel |
737 | Left = 0 | 737 | Left = 0 |
738 | Height = 15 | 738 | Height = 15 |
739 | - Top = 132 | ||
740 | - Width = 628 | 739 | + Top = 137 |
740 | + Width = 637 | ||
741 | Caption = 'Nome da contingência' | 741 | Caption = 'Nome da contingência' |
742 | ParentColor = False | 742 | ParentColor = False |
743 | end | 743 | end |
744 | object EditContingencyName: TEdit | 744 | object EditContingencyName: TEdit |
745 | Left = 0 | 745 | Left = 0 |
746 | - Height = 23 | ||
747 | - Top = 152 | ||
748 | - Width = 628 | 746 | + Height = 25 |
747 | + Top = 157 | ||
748 | + Width = 637 | ||
749 | OnEditingDone = EditContingencyNameEditingDone | 749 | OnEditingDone = EditContingencyNameEditingDone |
750 | TabOrder = 2 | 750 | TabOrder = 2 |
751 | end | 751 | end |
752 | object RGContingencyStyle: TRadioGroup | 752 | object RGContingencyStyle: TRadioGroup |
753 | Left = 0 | 753 | Left = 0 |
754 | - Height = 115 | ||
755 | - Top = 180 | ||
756 | - Width = 628 | 754 | + Height = 122 |
755 | + Top = 187 | ||
756 | + Width = 637 | ||
757 | AutoFill = True | 757 | AutoFill = True |
758 | Caption = 'Estilo da Resposta' | 758 | Caption = 'Estilo da Resposta' |
759 | ChildSizing.LeftRightSpacing = 6 | 759 | ChildSizing.LeftRightSpacing = 6 |
@@ -763,8 +763,8 @@ object FormDesigner: TFormDesigner | @@ -763,8 +763,8 @@ object FormDesigner: TFormDesigner | ||
763 | ChildSizing.ShrinkVertical = crsScaleChilds | 763 | ChildSizing.ShrinkVertical = crsScaleChilds |
764 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 764 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
765 | ChildSizing.ControlsPerLine = 1 | 765 | ChildSizing.ControlsPerLine = 1 |
766 | - ClientHeight = 98 | ||
767 | - ClientWidth = 624 | 766 | + ClientHeight = 105 |
767 | + ClientWidth = 633 | ||
768 | ItemIndex = 0 | 768 | ItemIndex = 0 |
769 | Items.Strings = ( | 769 | Items.Strings = ( |
770 | 'Extinção' | 770 | 'Extinção' |
@@ -780,8 +780,8 @@ object FormDesigner: TFormDesigner | @@ -780,8 +780,8 @@ object FormDesigner: TFormDesigner | ||
780 | object LabelIf: TLabel | 780 | object LabelIf: TLabel |
781 | Left = 0 | 781 | Left = 0 |
782 | Height = 15 | 782 | Height = 15 |
783 | - Top = 300 | ||
784 | - Width = 628 | 783 | + Top = 314 |
784 | + Width = 637 | ||
785 | Alignment = taCenter | 785 | Alignment = taCenter |
786 | Caption = 'SE O PARTICIPANTE ESCOLHER' | 786 | Caption = 'SE O PARTICIPANTE ESCOLHER' |
787 | ParentColor = False | 787 | ParentColor = False |
@@ -789,9 +789,9 @@ object FormDesigner: TFormDesigner | @@ -789,9 +789,9 @@ object FormDesigner: TFormDesigner | ||
789 | end | 789 | end |
790 | object GBContingencyRows: TGroupBox | 790 | object GBContingencyRows: TGroupBox |
791 | Left = 0 | 791 | Left = 0 |
792 | - Height = 19 | ||
793 | - Top = 320 | ||
794 | - Width = 628 | 792 | + Height = 17 |
793 | + Top = 334 | ||
794 | + Width = 637 | ||
795 | Caption = 'Linhas' | 795 | Caption = 'Linhas' |
796 | ChildSizing.LeftRightSpacing = 5 | 796 | ChildSizing.LeftRightSpacing = 5 |
797 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 797 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
@@ -803,8 +803,8 @@ object FormDesigner: TFormDesigner | @@ -803,8 +803,8 @@ object FormDesigner: TFormDesigner | ||
803 | object LabelOperator: TLabel | 803 | object LabelOperator: TLabel |
804 | Left = 0 | 804 | Left = 0 |
805 | Height = 15 | 805 | Height = 15 |
806 | - Top = 344 | ||
807 | - Width = 628 | 806 | + Top = 356 |
807 | + Width = 637 | ||
808 | Alignment = taCenter | 808 | Alignment = taCenter |
809 | Caption = 'E' | 809 | Caption = 'E' |
810 | ParentColor = False | 810 | ParentColor = False |
@@ -812,9 +812,9 @@ object FormDesigner: TFormDesigner | @@ -812,9 +812,9 @@ object FormDesigner: TFormDesigner | ||
812 | end | 812 | end |
813 | object GBContingencyColors: TGroupBox | 813 | object GBContingencyColors: TGroupBox |
814 | Left = 0 | 814 | Left = 0 |
815 | - Height = 19 | ||
816 | - Top = 364 | ||
817 | - Width = 628 | 815 | + Height = 17 |
816 | + Top = 376 | ||
817 | + Width = 637 | ||
818 | Caption = 'Cores' | 818 | Caption = 'Cores' |
819 | ChildSizing.HorizontalSpacing = 5 | 819 | ChildSizing.HorizontalSpacing = 5 |
820 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 820 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
@@ -826,8 +826,8 @@ object FormDesigner: TFormDesigner | @@ -826,8 +826,8 @@ object FormDesigner: TFormDesigner | ||
826 | object LabelThen: TLabel | 826 | object LabelThen: TLabel |
827 | Left = 0 | 827 | Left = 0 |
828 | Height = 15 | 828 | Height = 15 |
829 | - Top = 388 | ||
830 | - Width = 628 | 829 | + Top = 398 |
830 | + Width = 637 | ||
831 | Alignment = taCenter | 831 | Alignment = taCenter |
832 | Caption = 'ENTÃO' | 832 | Caption = 'ENTÃO' |
833 | ParentColor = False | 833 | ParentColor = False |
@@ -835,47 +835,47 @@ object FormDesigner: TFormDesigner | @@ -835,47 +835,47 @@ object FormDesigner: TFormDesigner | ||
835 | end | 835 | end |
836 | object GBContingencyConsequence: TGroupBox | 836 | object GBContingencyConsequence: TGroupBox |
837 | Left = 0 | 837 | Left = 0 |
838 | - Height = 344 | ||
839 | - Top = 408 | ||
840 | - Width = 628 | 838 | + Height = 364 |
839 | + Top = 418 | ||
840 | + Width = 637 | ||
841 | Caption = 'Consequência' | 841 | Caption = 'Consequência' |
842 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 842 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
843 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 843 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
844 | ChildSizing.ControlsPerLine = 2 | 844 | ChildSizing.ControlsPerLine = 2 |
845 | - ClientHeight = 327 | ||
846 | - ClientWidth = 624 | 845 | + ClientHeight = 347 |
846 | + ClientWidth = 633 | ||
847 | TabOrder = 6 | 847 | TabOrder = 6 |
848 | Visible = False | 848 | Visible = False |
849 | object LabelCsq1: TLabel | 849 | object LabelCsq1: TLabel |
850 | Left = 0 | 850 | Left = 0 |
851 | Height = 15 | 851 | Height = 15 |
852 | Top = 0 | 852 | Top = 0 |
853 | - Width = 394 | 853 | + Width = 409 |
854 | Caption = 'Pontos' | 854 | Caption = 'Pontos' |
855 | ParentColor = False | 855 | ParentColor = False |
856 | end | 856 | end |
857 | object LabelCsq2: TLabel | 857 | object LabelCsq2: TLabel |
858 | - Left = 394 | 858 | + Left = 409 |
859 | Height = 15 | 859 | Height = 15 |
860 | Top = 0 | 860 | Top = 0 |
861 | - Width = 230 | 861 | + Width = 224 |
862 | Caption = 'do Tipo' | 862 | Caption = 'do Tipo' |
863 | ParentColor = False | 863 | ParentColor = False |
864 | end | 864 | end |
865 | object SpinEditContingencyPoints: TSpinEdit | 865 | object SpinEditContingencyPoints: TSpinEdit |
866 | Left = 0 | 866 | Left = 0 |
867 | - Height = 23 | 867 | + Height = 27 |
868 | Top = 15 | 868 | Top = 15 |
869 | - Width = 394 | 869 | + Width = 409 |
870 | MaxValue = 0 | 870 | MaxValue = 0 |
871 | OnEditingDone = ConsequenceStyleChange | 871 | OnEditingDone = ConsequenceStyleChange |
872 | TabOrder = 0 | 872 | TabOrder = 0 |
873 | end | 873 | end |
874 | object CBPointsType: TComboBox | 874 | object CBPointsType: TComboBox |
875 | - Left = 394 | ||
876 | - Height = 23 | 875 | + Left = 409 |
876 | + Height = 27 | ||
877 | Top = 15 | 877 | Top = 15 |
878 | - Width = 230 | 878 | + Width = 224 |
879 | ItemHeight = 0 | 879 | ItemHeight = 0 |
880 | OnChange = ConsequenceStyleChange | 880 | OnChange = ConsequenceStyleChange |
881 | Style = csDropDownList | 881 | Style = csDropDownList |
@@ -883,9 +883,9 @@ object FormDesigner: TFormDesigner | @@ -883,9 +883,9 @@ object FormDesigner: TFormDesigner | ||
883 | end | 883 | end |
884 | object RGBroadcastMessage: TRadioGroup | 884 | object RGBroadcastMessage: TRadioGroup |
885 | Left = 0 | 885 | Left = 0 |
886 | - Height = 77 | ||
887 | - Top = 38 | ||
888 | - Width = 394 | 886 | + Height = 80 |
887 | + Top = 42 | ||
888 | + Width = 409 | ||
889 | AutoFill = True | 889 | AutoFill = True |
890 | Caption = 'Apresentar mensagem de notificação' | 890 | Caption = 'Apresentar mensagem de notificação' |
891 | ChildSizing.LeftRightSpacing = 6 | 891 | ChildSizing.LeftRightSpacing = 6 |
@@ -895,8 +895,8 @@ object FormDesigner: TFormDesigner | @@ -895,8 +895,8 @@ object FormDesigner: TFormDesigner | ||
895 | ChildSizing.ShrinkVertical = crsScaleChilds | 895 | ChildSizing.ShrinkVertical = crsScaleChilds |
896 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 896 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
897 | ChildSizing.ControlsPerLine = 1 | 897 | ChildSizing.ControlsPerLine = 1 |
898 | - ClientHeight = 60 | ||
899 | - ClientWidth = 390 | 898 | + ClientHeight = 63 |
899 | + ClientWidth = 405 | ||
900 | ItemIndex = 0 | 900 | ItemIndex = 0 |
901 | Items.Strings = ( | 901 | Items.Strings = ( |
902 | 'a todos os participantes' | 902 | 'a todos os participantes' |
@@ -907,11 +907,11 @@ object FormDesigner: TFormDesigner | @@ -907,11 +907,11 @@ object FormDesigner: TFormDesigner | ||
907 | TabOrder = 9 | 907 | TabOrder = 9 |
908 | end | 908 | end |
909 | object CheckBoxImutableMessage: TCheckBox | 909 | object CheckBoxImutableMessage: TCheckBox |
910 | - Left = 394 | ||
911 | - Height = 77 | 910 | + Left = 409 |
911 | + Height = 80 | ||
912 | Hint = 'Marque se deseja uma mensagem fixa; o programa não atualizará o texto da mensagem caso o valor da pontuação mude ao longo do experimento.' | 912 | Hint = 'Marque se deseja uma mensagem fixa; o programa não atualizará o texto da mensagem caso o valor da pontuação mude ao longo do experimento.' |
913 | - Top = 38 | ||
914 | - Width = 230 | 913 | + Top = 42 |
914 | + Width = 224 | ||
915 | AutoSize = False | 915 | AutoSize = False |
916 | Caption = 'imutável' | 916 | Caption = 'imutável' |
917 | OnChange = CheckBoxImutableMessageChange | 917 | OnChange = CheckBoxImutableMessageChange |
@@ -919,136 +919,136 @@ object FormDesigner: TFormDesigner | @@ -919,136 +919,136 @@ object FormDesigner: TFormDesigner | ||
919 | end | 919 | end |
920 | object LabelCsq3: TLabel | 920 | object LabelCsq3: TLabel |
921 | Left = 0 | 921 | Left = 0 |
922 | - Height = 23 | ||
923 | - Top = 115 | ||
924 | - Width = 394 | 922 | + Height = 25 |
923 | + Top = 122 | ||
924 | + Width = 409 | ||
925 | Caption = 'Texto no início da mensagem' | 925 | Caption = 'Texto no início da mensagem' |
926 | ParentColor = False | 926 | ParentColor = False |
927 | end | 927 | end |
928 | object EditMessPrefix: TEdit | 928 | object EditMessPrefix: TEdit |
929 | - Left = 394 | ||
930 | - Height = 23 | ||
931 | - Top = 115 | ||
932 | - Width = 230 | 929 | + Left = 409 |
930 | + Height = 25 | ||
931 | + Top = 122 | ||
932 | + Width = 224 | ||
933 | OnEditingDone = EditMessDone | 933 | OnEditingDone = EditMessDone |
934 | TabOrder = 2 | 934 | TabOrder = 2 |
935 | Text = '$NICNAME' | 935 | Text = '$NICNAME' |
936 | end | 936 | end |
937 | object LabelCsq4: TLabel | 937 | object LabelCsq4: TLabel |
938 | Left = 0 | 938 | Left = 0 |
939 | - Height = 23 | ||
940 | - Top = 138 | ||
941 | - Width = 394 | 939 | + Height = 25 |
940 | + Top = 147 | ||
941 | + Width = 409 | ||
942 | Caption = 'Prefixo ao perder pontos' | 942 | Caption = 'Prefixo ao perder pontos' |
943 | ParentColor = False | 943 | ParentColor = False |
944 | end | 944 | end |
945 | object EditMessPrefixLoss: TEdit | 945 | object EditMessPrefixLoss: TEdit |
946 | - Left = 394 | ||
947 | - Height = 23 | ||
948 | - Top = 138 | ||
949 | - Width = 230 | 946 | + Left = 409 |
947 | + Height = 25 | ||
948 | + Top = 147 | ||
949 | + Width = 224 | ||
950 | OnEditingDone = EditMessDone | 950 | OnEditingDone = EditMessDone |
951 | TabOrder = 3 | 951 | TabOrder = 3 |
952 | Text = 'perdeu' | 952 | Text = 'perdeu' |
953 | end | 953 | end |
954 | object LabelCsq5: TLabel | 954 | object LabelCsq5: TLabel |
955 | Left = 0 | 955 | Left = 0 |
956 | - Height = 23 | ||
957 | - Top = 161 | ||
958 | - Width = 394 | 956 | + Height = 25 |
957 | + Top = 172 | ||
958 | + Width = 409 | ||
959 | Caption = 'Sufixo ao perder pontos (Singular)' | 959 | Caption = 'Sufixo ao perder pontos (Singular)' |
960 | ParentColor = False | 960 | ParentColor = False |
961 | end | 961 | end |
962 | object EditMessSufixLossSingular: TEdit | 962 | object EditMessSufixLossSingular: TEdit |
963 | - Left = 394 | ||
964 | - Height = 23 | ||
965 | - Top = 161 | ||
966 | - Width = 230 | 963 | + Left = 409 |
964 | + Height = 25 | ||
965 | + Top = 172 | ||
966 | + Width = 224 | ||
967 | OnEditingDone = EditMessDone | 967 | OnEditingDone = EditMessDone |
968 | TabOrder = 4 | 968 | TabOrder = 4 |
969 | Text = 'ponto.' | 969 | Text = 'ponto.' |
970 | end | 970 | end |
971 | object LabelCsq6: TLabel | 971 | object LabelCsq6: TLabel |
972 | Left = 0 | 972 | Left = 0 |
973 | - Height = 23 | ||
974 | - Top = 184 | ||
975 | - Width = 394 | 973 | + Height = 25 |
974 | + Top = 197 | ||
975 | + Width = 409 | ||
976 | Caption = 'Sufixo ao perder pontos (Plural)' | 976 | Caption = 'Sufixo ao perder pontos (Plural)' |
977 | ParentColor = False | 977 | ParentColor = False |
978 | end | 978 | end |
979 | object EditMessSufixLossPlural: TEdit | 979 | object EditMessSufixLossPlural: TEdit |
980 | - Left = 394 | ||
981 | - Height = 23 | ||
982 | - Top = 184 | ||
983 | - Width = 230 | 980 | + Left = 409 |
981 | + Height = 25 | ||
982 | + Top = 197 | ||
983 | + Width = 224 | ||
984 | OnEditingDone = EditMessDone | 984 | OnEditingDone = EditMessDone |
985 | TabOrder = 5 | 985 | TabOrder = 5 |
986 | Text = 'pontos.' | 986 | Text = 'pontos.' |
987 | end | 987 | end |
988 | object LabelCsq7: TLabel | 988 | object LabelCsq7: TLabel |
989 | Left = 0 | 989 | Left = 0 |
990 | - Height = 23 | ||
991 | - Top = 207 | ||
992 | - Width = 394 | 990 | + Height = 25 |
991 | + Top = 222 | ||
992 | + Width = 409 | ||
993 | Caption = 'Prefixo ao ganhar pontos' | 993 | Caption = 'Prefixo ao ganhar pontos' |
994 | ParentColor = False | 994 | ParentColor = False |
995 | end | 995 | end |
996 | object EditMessPrefixEarn: TEdit | 996 | object EditMessPrefixEarn: TEdit |
997 | - Left = 394 | ||
998 | - Height = 23 | ||
999 | - Top = 207 | ||
1000 | - Width = 230 | 997 | + Left = 409 |
998 | + Height = 25 | ||
999 | + Top = 222 | ||
1000 | + Width = 224 | ||
1001 | OnEditingDone = EditMessDone | 1001 | OnEditingDone = EditMessDone |
1002 | TabOrder = 6 | 1002 | TabOrder = 6 |
1003 | Text = 'ganhou' | 1003 | Text = 'ganhou' |
1004 | end | 1004 | end |
1005 | object LabelCsq8: TLabel | 1005 | object LabelCsq8: TLabel |
1006 | Left = 0 | 1006 | Left = 0 |
1007 | - Height = 23 | ||
1008 | - Top = 230 | ||
1009 | - Width = 394 | 1007 | + Height = 25 |
1008 | + Top = 247 | ||
1009 | + Width = 409 | ||
1010 | Caption = 'Sufixo ao ganhar pontos (Singular)' | 1010 | Caption = 'Sufixo ao ganhar pontos (Singular)' |
1011 | ParentColor = False | 1011 | ParentColor = False |
1012 | end | 1012 | end |
1013 | object EditMessSufixEarnSingular: TEdit | 1013 | object EditMessSufixEarnSingular: TEdit |
1014 | - Left = 394 | ||
1015 | - Height = 23 | ||
1016 | - Top = 230 | ||
1017 | - Width = 230 | 1014 | + Left = 409 |
1015 | + Height = 25 | ||
1016 | + Top = 247 | ||
1017 | + Width = 224 | ||
1018 | OnEditingDone = EditMessDone | 1018 | OnEditingDone = EditMessDone |
1019 | TabOrder = 7 | 1019 | TabOrder = 7 |
1020 | Text = 'ponto.' | 1020 | Text = 'ponto.' |
1021 | end | 1021 | end |
1022 | object LabelCsq9: TLabel | 1022 | object LabelCsq9: TLabel |
1023 | Left = 0 | 1023 | Left = 0 |
1024 | - Height = 23 | ||
1025 | - Top = 253 | ||
1026 | - Width = 394 | 1024 | + Height = 25 |
1025 | + Top = 272 | ||
1026 | + Width = 409 | ||
1027 | Caption = 'Sufixo ao ganhar pontos (Plural)' | 1027 | Caption = 'Sufixo ao ganhar pontos (Plural)' |
1028 | ParentColor = False | 1028 | ParentColor = False |
1029 | end | 1029 | end |
1030 | object EditMessSufixEarnPlural: TEdit | 1030 | object EditMessSufixEarnPlural: TEdit |
1031 | - Left = 394 | ||
1032 | - Height = 23 | ||
1033 | - Top = 253 | ||
1034 | - Width = 230 | 1031 | + Left = 409 |
1032 | + Height = 25 | ||
1033 | + Top = 272 | ||
1034 | + Width = 224 | ||
1035 | OnEditingDone = EditMessDone | 1035 | OnEditingDone = EditMessDone |
1036 | TabOrder = 8 | 1036 | TabOrder = 8 |
1037 | Text = 'pontos.' | 1037 | Text = 'pontos.' |
1038 | end | 1038 | end |
1039 | object LabelCsq10: TLabel | 1039 | object LabelCsq10: TLabel |
1040 | Left = 0 | 1040 | Left = 0 |
1041 | - Height = 23 | ||
1042 | - Top = 276 | ||
1043 | - Width = 394 | 1041 | + Height = 25 |
1042 | + Top = 297 | ||
1043 | + Width = 409 | ||
1044 | Caption = 'Sufixo 0 pontos' | 1044 | Caption = 'Sufixo 0 pontos' |
1045 | ParentColor = False | 1045 | ParentColor = False |
1046 | end | 1046 | end |
1047 | object EditMessSufixZero: TEdit | 1047 | object EditMessSufixZero: TEdit |
1048 | - Left = 394 | ||
1049 | - Height = 23 | ||
1050 | - Top = 276 | ||
1051 | - Width = 230 | 1048 | + Left = 409 |
1049 | + Height = 25 | ||
1050 | + Top = 297 | ||
1051 | + Width = 224 | ||
1052 | OnEditingDone = EditMessDone | 1052 | OnEditingDone = EditMessDone |
1053 | TabOrder = 11 | 1053 | TabOrder = 11 |
1054 | Text = 'não ganhou nem perdeu pontos.' | 1054 | Text = 'não ganhou nem perdeu pontos.' |
@@ -1056,8 +1056,8 @@ object FormDesigner: TFormDesigner | @@ -1056,8 +1056,8 @@ object FormDesigner: TFormDesigner | ||
1056 | object ButtonPreviewMessage: TButton | 1056 | object ButtonPreviewMessage: TButton |
1057 | Left = 0 | 1057 | Left = 0 |
1058 | Height = 25 | 1058 | Height = 25 |
1059 | - Top = 299 | ||
1060 | - Width = 394 | 1059 | + Top = 322 |
1060 | + Width = 409 | ||
1061 | Caption = 'Ver como a mensagem pode ser apresentada' | 1061 | Caption = 'Ver como a mensagem pode ser apresentada' |
1062 | OnClick = ButtonPreviewMessageClick | 1062 | OnClick = ButtonPreviewMessageClick |
1063 | TabOrder = 12 | 1063 | TabOrder = 12 |
experiment_designer/form_main.pas
@@ -370,7 +370,8 @@ end; | @@ -370,7 +370,8 @@ end; | ||
370 | 370 | ||
371 | procedure TFormDesigner.RGContingencyStyleExit(Sender: TObject); | 371 | procedure TFormDesigner.RGContingencyStyleExit(Sender: TObject); |
372 | begin | 372 | begin |
373 | - SaveContingency(ExtractDelimited(1,ComboCurrentCondition.Text,['|']),ExtractDelimited(1,ComboCurrentContingency.Text,['|'])); | 373 | + if ComboCurrentContingency.ItemIndex <> -1 then |
374 | + SaveContingency(ExtractDelimited(1,ComboCurrentCondition.Text,['|']),ExtractDelimited(1,ComboCurrentContingency.Text,['|'])); | ||
374 | end; | 375 | end; |
375 | 376 | ||
376 | 377 |