180fe9c7bSAndrew Rist/**************************************************************
2*ab1cb3baSmseidel *
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*ab1cb3baSmseidel *
1180fe9c7bSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*ab1cb3baSmseidel *
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*ab1cb3baSmseidel *
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*ab1cb3baSmseidel	HelpID = "extensions:ModalDialog:RID_DLG_FORMLINKS" ;
33cdf0e10cSrcweir	OutputSize = TRUE ;
34cdf0e10cSrcweir	Moveable = TRUE ;
35cdf0e10cSrcweir	Closeable = TRUE ;
36cdf0e10cSrcweir	SVLook = TRUE ;
37*ab1cb3baSmseidel	Size = MAP_APPFONT ( 252, 110 ) ;
38cdf0e10cSrcweir
39*ab1cb3baSmseidel	Text [ en-US ] = "Link fields" ;
40cdf0e10cSrcweir
41*ab1cb3baSmseidel	FixedText FT_EXPLANATION
42*ab1cb3baSmseidel	{
43*ab1cb3baSmseidel		Pos = MAP_APPFONT ( 6, 6 ) ;
44*ab1cb3baSmseidel		Size = MAP_APPFONT ( 187, 24 ) ;
45cdf0e10cSrcweir
46*ab1cb3baSmseidel		WordBreak = TRUE ;
47cdf0e10cSrcweir
48*ab1cb3baSmseidel		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*ab1cb3baSmseidel	};
50cdf0e10cSrcweir
51*ab1cb3baSmseidel	FixedText FT_DETAIL_LABEL
52*ab1cb3baSmseidel	{
53*ab1cb3baSmseidel		Pos = MAP_APPFONT ( 6, 36 ) ;
54*ab1cb3baSmseidel		Size = MAP_APPFONT ( 85, 8 ) ;
55*ab1cb3baSmseidel	};
56cdf0e10cSrcweir
57*ab1cb3baSmseidel	FixedText FT_MASTER_LABEL
58*ab1cb3baSmseidel	{
59*ab1cb3baSmseidel		Pos = MAP_APPFONT ( 102, 36 ) ;
60*ab1cb3baSmseidel		Size = MAP_APPFONT ( 85, 8 ) ;
61*ab1cb3baSmseidel	};
62cdf0e10cSrcweir
63cdf0e10cSrcweir#define ROW( n ) \
64*ab1cb3baSmseidel	Window n \
65*ab1cb3baSmseidel	{ \
66*ab1cb3baSmseidel		Pos = MAP_APPFONT ( 6, 47 + 15 * ( n - 1 ) ) ;	\
67*ab1cb3baSmseidel		Size = MAP_APPFONT ( 181, 13 ) ;				\
68*ab1cb3baSmseidel														\
69*ab1cb3baSmseidel		Hide = FALSE ;									\
70*ab1cb3baSmseidel		DialogControl = TRUE ;							\
71*ab1cb3baSmseidel														\
72*ab1cb3baSmseidel		ComboBox 1										\
73*ab1cb3baSmseidel		{												\
74*ab1cb3baSmseidel			Pos = MAP_APPFONT ( 0, 0 ) ;				\
75*ab1cb3baSmseidel			Size = MAP_APPFONT ( 85, 12 ) ;				\
76*ab1cb3baSmseidel														\
77*ab1cb3baSmseidel			DropDown = TRUE ;							\
78*ab1cb3baSmseidel			TabStop = TRUE ;							\
79*ab1cb3baSmseidel														\
80*ab1cb3baSmseidel			HelpId = HID_FIELDLINK_DETAIL_COLUMN ;		\
81*ab1cb3baSmseidel			UniqueId = UID_FIELDLINK_DETAIL#n ;			\
82*ab1cb3baSmseidel		};												\
83*ab1cb3baSmseidel		FixedText 1										\
84*ab1cb3baSmseidel		{												\
85*ab1cb3baSmseidel			Pos = MAP_APPFONT ( 85, 0 ) ;				\
86*ab1cb3baSmseidel			Size = MAP_APPFONT ( 10, 12 ) ;				\
87*ab1cb3baSmseidel			Center = TRUE ;								\
88*ab1cb3baSmseidel		};												\
89*ab1cb3baSmseidel		ComboBox 2										\
90*ab1cb3baSmseidel		{												\
91*ab1cb3baSmseidel			Pos = MAP_APPFONT ( 95, 0 ) ;				\
92*ab1cb3baSmseidel			Size = MAP_APPFONT ( 85, 12 ) ;				\
93*ab1cb3baSmseidel														\
94*ab1cb3baSmseidel			DropDown = TRUE ;							\
95*ab1cb3baSmseidel			TabStop = TRUE ;							\
96*ab1cb3baSmseidel														\
97*ab1cb3baSmseidel			HelpId = HID_FIELDLINK_MASTER_COLUMN ;		\
98*ab1cb3baSmseidel			UniqueId = UID_FIELDLINK_MASTER#n ;			\
99*ab1cb3baSmseidel		};												\
100*ab1cb3baSmseidel	}
101*ab1cb3baSmseidel
102*ab1cb3baSmseidel	ROW( 1 ) ;
103*ab1cb3baSmseidel	ROW( 2 ) ;
104*ab1cb3baSmseidel	ROW( 3 ) ;
105*ab1cb3baSmseidel	ROW( 4 ) ;
106*ab1cb3baSmseidel
107*ab1cb3baSmseidel	OKButton PB_OK
108*ab1cb3baSmseidel	{
109*ab1cb3baSmseidel		Pos = MAP_APPFONT ( 199, 6 ) ;
110*ab1cb3baSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
111*ab1cb3baSmseidel		TabStop = TRUE ;
112*ab1cb3baSmseidel		DefButton = TRUE ;
113*ab1cb3baSmseidel	};
114*ab1cb3baSmseidel
115*ab1cb3baSmseidel	CancelButton PB_CANCEL
116*ab1cb3baSmseidel	{
117*ab1cb3baSmseidel		Pos = MAP_APPFONT ( 199, 23 ) ;
118*ab1cb3baSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
119*ab1cb3baSmseidel		TabStop = TRUE ;
120*ab1cb3baSmseidel	};
121*ab1cb3baSmseidel
122*ab1cb3baSmseidel	HelpButton PB_HELP
123*ab1cb3baSmseidel	{
124*ab1cb3baSmseidel		Pos = MAP_APPFONT ( 199, 43 ) ;
125*ab1cb3baSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
126*ab1cb3baSmseidel		TabStop = TRUE ;
127*ab1cb3baSmseidel	};
128*ab1cb3baSmseidel
129*ab1cb3baSmseidel	PushButton PB_SUGGEST
130*ab1cb3baSmseidel	{
131*ab1cb3baSmseidel		HelpID = "extensions:PushButton:RID_DLG_FORMLINKS:PB_SUGGEST" ;
132*ab1cb3baSmseidel		Pos = MAP_APPFONT ( 199, 90 ) ;
133*ab1cb3baSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
134*ab1cb3baSmseidel		TabStop = TRUE ;
135*ab1cb3baSmseidel		Hide = FALSE ;
136*ab1cb3baSmseidel		Disable = TRUE ;
137*ab1cb3baSmseidel
138*ab1cb3baSmseidel		Text [ en-US ] = "Suggest" ;
139*ab1cb3baSmseidel	};
140*ab1cb3baSmseidel
141*ab1cb3baSmseidel	String STR_DETAIL_FORM
142*ab1cb3baSmseidel	{
143*ab1cb3baSmseidel		Text [ en-US ] = "Sub Form" ;
144*ab1cb3baSmseidel	};
145*ab1cb3baSmseidel
146*ab1cb3baSmseidel	String STR_MASTER_FORM
147*ab1cb3baSmseidel	{
148*ab1cb3baSmseidel		Text [ en-US ] = "Master Form" ;
149*ab1cb3baSmseidel	};
150*ab1cb3baSmseidel
151*ab1cb3baSmseidel	String STR_ERROR_RETRIEVING_COLUMNS
152*ab1cb3baSmseidel	{
153*ab1cb3baSmseidel		Text [ en-US ] = "The columns of '#' could not be retrieved." ;
154*ab1cb3baSmseidel	};
155cdf0e10cSrcweir};
156*ab1cb3baSmseidel
157*ab1cb3baSmseidel// ********************************************************************** EOF
158