1/**************************************************************
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
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
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.
19 *
20 *************************************************************/
21
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{
32	HelpID = "extensions:ModalDialog:RID_DLG_FORMLINKS" ;
33	OutputSize = TRUE ;
34	Moveable = TRUE ;
35	Closeable = TRUE ;
36	SVLook = TRUE ;
37	Size = MAP_APPFONT ( 252, 110 ) ;
38
39	Text [ en-US ] = "Link fields" ;
40
41	FixedText FT_EXPLANATION
42	{
43		Pos = MAP_APPFONT ( 6, 6 ) ;
44		Size = MAP_APPFONT ( 187, 24 ) ;
45
46		WordBreak = TRUE ;
47
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	};
50
51	FixedText FT_DETAIL_LABEL
52	{
53		Pos = MAP_APPFONT ( 6, 36 ) ;
54		Size = MAP_APPFONT ( 85, 8 ) ;
55	};
56
57	FixedText FT_MASTER_LABEL
58	{
59		Pos = MAP_APPFONT ( 102, 36 ) ;
60		Size = MAP_APPFONT ( 85, 8 ) ;
61	};
62
63#define ROW( n ) \
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	}
101
102	ROW( 1 ) ;
103	ROW( 2 ) ;
104	ROW( 3 ) ;
105	ROW( 4 ) ;
106
107	OKButton PB_OK
108	{
109		Pos = MAP_APPFONT ( 199, 6 ) ;
110		Size = MAP_APPFONT ( 50, 14 ) ;
111		TabStop = TRUE ;
112		DefButton = TRUE ;
113	};
114
115	CancelButton PB_CANCEL
116	{
117		Pos = MAP_APPFONT ( 199, 23 ) ;
118		Size = MAP_APPFONT ( 50, 14 ) ;
119		TabStop = TRUE ;
120	};
121
122	HelpButton PB_HELP
123	{
124		Pos = MAP_APPFONT ( 199, 43 ) ;
125		Size = MAP_APPFONT ( 50, 14 ) ;
126		TabStop = TRUE ;
127	};
128
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 ;
137
138		Text [ en-US ] = "Suggest" ;
139	};
140
141	String STR_DETAIL_FORM
142	{
143		Text [ en-US ] = "Sub Form" ;
144	};
145
146	String STR_MASTER_FORM
147	{
148		Text [ en-US ] = "Master Form" ;
149	};
150
151	String STR_ERROR_RETRIEVING_COLUMNS
152	{
153		Text [ en-US ] = "The columns of '#' could not be retrieved." ;
154	};
155};
156
157// ********************************************************************** EOF
158