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