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