formlinkdialog.src (430a148e) formlinkdialog.src (14d89e6d)
1/**************************************************************
1/**************************************************************
2 *
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
20 *************************************************************/
21
22
23
24#ifndef _EXTENSIONS_FORMCTRLR_PROPRESID_HRC_
25#include "formresid.hrc"
26#endif
27#include "propctrlr.hrc"
28#ifndef EXTENSIONS_SOURCE_PROPCTRLR_FORMLINKDIALOG_HRC
29#include "formlinkdialog.hrc"
30#endif
31
32ModalDialog RID_DLG_FORMLINKS
33{
22#ifndef _EXTENSIONS_FORMCTRLR_PROPRESID_HRC_
23#include "formresid.hrc"
24#endif
25#include "propctrlr.hrc"
26#ifndef EXTENSIONS_SOURCE_PROPCTRLR_FORMLINKDIALOG_HRC
27#include "formlinkdialog.hrc"
28#endif
29
30ModalDialog RID_DLG_FORMLINKS
31{
34 HelpID = "extensions:ModalDialog:RID_DLG_FORMLINKS";
32 HelpID = "extensions:ModalDialog:RID_DLG_FORMLINKS" ;
35 OutputSize = TRUE ;
36 Moveable = TRUE ;
37 Closeable = TRUE ;
38 SVLook = TRUE ;
33 OutputSize = TRUE ;
34 Moveable = TRUE ;
35 Closeable = TRUE ;
36 SVLook = TRUE ;
39 Size = MAP_APPFONT ( 252, 110 ) ;
37 Size = MAP_APPFONT ( 252, 110 ) ;
40
38
41 Text [ en-US ] = "Link fields";
39 Text [ en-US ] = "Link fields" ;
42
40
43 FixedText FT_EXPLANATION
44 {
45 Pos = MAP_APPFONT( 6, 6 );
46 Size = MAP_APPFONT( 187, 24 );
41 FixedText FT_EXPLANATION
42 {
43 Pos = MAP_APPFONT ( 6, 6 ) ;
44 Size = MAP_APPFONT ( 187, 24 ) ;
47
45
48 WordBreak = TRUE;
46 WordBreak = TRUE ;
49
47
50 Text [ en-US ] = "Sub forms can be used to display detailed data about the current record of the master form. To do this, you can specify which columns in the sub form match which columns in the master form.";
51 };
48 Text [ en-US ] = "Sub forms can be used to display detailed data about the current record of the master form. To do this, you can specify which columns in the sub form match which columns in the master form." ;
49 };
52
50
53 FixedText FT_DETAIL_LABEL
54 {
55 Pos = MAP_APPFONT( 6, 36 );
56 Size = MAP_APPFONT( 85, 8 );
57 };
51 FixedText FT_DETAIL_LABEL
52 {
53 Pos = MAP_APPFONT ( 6, 36 ) ;
54 Size = MAP_APPFONT ( 85, 8 ) ;
55 };
58
56
59 FixedText FT_MASTER_LABEL
60 {
61 Pos = MAP_APPFONT( 102, 36 );
62 Size = MAP_APPFONT( 85, 8 );
63 };
57 FixedText FT_MASTER_LABEL
58 {
59 Pos = MAP_APPFONT ( 102, 36 ) ;
60 Size = MAP_APPFONT ( 85, 8 ) ;
61 };
64
65#define ROW( n ) \
62
63#define ROW( n ) \
66 Window n \
67 { \
68 Pos = MAP_APPFONT( 6, 47 + 15 * ( n - 1 ) ); \
69 Size = MAP_APPFONT( 181, 13 ); \
70 \
71 Hide = FALSE; \
72 DialogControl = TRUE; \
73 \
74 ComboBox 1 \
75 { \
76 Pos = MAP_APPFONT( 0, 0 ); \
77 Size = MAP_APPFONT( 85, 12 ); \
78 \
79 DropDown = TRUE; \
80 TabStop = TRUE; \
81 \
82 HelpId = HID_FIELDLINK_DETAIL_COLUMN; \
83 UniqueId = UID_FIELDLINK_DETAIL#n; \
84 }; \
85 FixedText 1 \
86 { \
87 Pos = MAP_APPFONT( 85, 0 ); \
88 Size = MAP_APPFONT( 10, 12 ); \
89 Center = TRUE; \
90 }; \
91 ComboBox 2 \
92 { \
93 Pos = MAP_APPFONT( 95, 0 ); \
94 Size = MAP_APPFONT( 85, 12 ); \
95 \
96 DropDown = TRUE; \
97 TabStop = TRUE; \
98 \
99 HelpId = HID_FIELDLINK_MASTER_COLUMN; \
100 UniqueId = UID_FIELDLINK_MASTER#n; \
101 }; \
102 }
64 Window n \
65 { \
66 Pos = MAP_APPFONT ( 6, 47 + 15 * ( n - 1 ) ) ; \
67 Size = MAP_APPFONT ( 181, 13 ) ; \
68 \
69 Hide = FALSE ; \
70 DialogControl = TRUE ; \
71 \
72 ComboBox 1 \
73 { \
74 Pos = MAP_APPFONT ( 0, 0 ) ; \
75 Size = MAP_APPFONT ( 85, 12 ) ; \
76 \
77 DropDown = TRUE ; \
78 TabStop = TRUE ; \
79 \
80 HelpId = HID_FIELDLINK_DETAIL_COLUMN ; \
81 UniqueId = UID_FIELDLINK_DETAIL#n ; \
82 }; \
83 FixedText 1 \
84 { \
85 Pos = MAP_APPFONT ( 85, 0 ) ; \
86 Size = MAP_APPFONT ( 10, 12 ) ; \
87 Center = TRUE ; \
88 }; \
89 ComboBox 2 \
90 { \
91 Pos = MAP_APPFONT ( 95, 0 ) ; \
92 Size = MAP_APPFONT ( 85, 12 ) ; \
93 \
94 DropDown = TRUE ; \
95 TabStop = TRUE ; \
96 \
97 HelpId = HID_FIELDLINK_MASTER_COLUMN ; \
98 UniqueId = UID_FIELDLINK_MASTER#n ; \
99 }; \
100 }
103
101
104 ROW( 1 );
105 ROW( 2 );
106 ROW( 3 );
107 ROW( 4 );
102 ROW( 1 ) ;
103 ROW( 2 ) ;
104 ROW( 3 ) ;
105 ROW( 4 ) ;
108
106
109 OKButton PB_OK
110 {
111 Pos = MAP_APPFONT( 199, 6 );
112 Size = MAP_APPFONT( 50, 14 );
113 TabStop = TRUE;
114 DefButton = TRUE;
115 };
107 OKButton PB_OK
108 {
109 Pos = MAP_APPFONT ( 199, 6 ) ;
110 Size = MAP_APPFONT ( 50, 14 ) ;
111 TabStop = TRUE ;
112 DefButton = TRUE ;
113 };
116
114
117 CancelButton PB_CANCEL
118 {
119 Pos = MAP_APPFONT( 199, 23 );
120 Size = MAP_APPFONT( 50, 14 );
121 TabStop = TRUE;
122 };
115 CancelButton PB_CANCEL
116 {
117 Pos = MAP_APPFONT ( 199, 23 ) ;
118 Size = MAP_APPFONT ( 50, 14 ) ;
119 TabStop = TRUE ;
120 };
123
121
124 HelpButton PB_HELP
125 {
126 Pos = MAP_APPFONT( 199, 43 );
127 Size = MAP_APPFONT( 50, 14 );
128 TabStop = TRUE;
129 };
122 HelpButton PB_HELP
123 {
124 Pos = MAP_APPFONT ( 199, 43 ) ;
125 Size = MAP_APPFONT ( 50, 14 ) ;
126 TabStop = TRUE ;
127 };
130
128
131 PushButton PB_SUGGEST
132 {
133 HelpID = "extensions:PushButton:RID_DLG_FORMLINKS:PB_SUGGEST";
134 Pos = MAP_APPFONT( 199, 90 );
135 Size = MAP_APPFONT( 50, 14 );
136 TabStop = TRUE;
137 Hide = FALSE;
138 Disable = TRUE;
129 PushButton PB_SUGGEST
130 {
131 HelpID = "extensions:PushButton:RID_DLG_FORMLINKS:PB_SUGGEST" ;
132 Pos = MAP_APPFONT ( 199, 90 ) ;
133 Size = MAP_APPFONT ( 50, 14 ) ;
134 TabStop = TRUE ;
135 Hide = FALSE ;
136 Disable = TRUE ;
139
137
140 Text [ en-US ] = "Suggest";
141 };
138 Text [ en-US ] = "Suggest" ;
139 };
142
140
143 String STR_DETAIL_FORM
144 {
145 Text [ en-US ] = "Sub Form";
146 };
141 String STR_DETAIL_FORM
142 {
143 Text [ en-US ] = "Sub Form" ;
144 };
147
145
148 String STR_MASTER_FORM
149 {
150 Text [ en-US ] = "Master Form";
151 };
146 String STR_MASTER_FORM
147 {
148 Text [ en-US ] = "Master Form" ;
149 };
152
150
153 String STR_ERROR_RETRIEVING_COLUMNS
154 {
155 Text [ en-US ] = "The columns of '#' could not be retrieved.";
156 };
151 String STR_ERROR_RETRIEVING_COLUMNS
152 {
153 Text [ en-US ] = "The columns of '#' could not be retrieved." ;
154 };
157};
155};
156
157// ********************************************************************** EOF