xref: /trunk/main/extensions/source/dbpilots/groupboxpages.src (revision 9b004a7b05cb3557beee722aecdce5c60ff2a1e9)
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_DBP_DBPRESID_HRC_
23cdf0e10cSrcweir#include "dbpresid.hrc"
24cdf0e10cSrcweir#endif
25cdf0e10cSrcweir
26cdf0e10cSrcweirTabPage RID_PAGE_GROUPRADIOSELECTION
27cdf0e10cSrcweir{
28cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_GROUPRADIOSELECTION" ;
29cdf0e10cSrcweir    SVLook = TRUE ;
30cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
31cdf0e10cSrcweir    Text [ en-US ] = "Data" ;
32cdf0e10cSrcweir
33cdf0e10cSrcweir    FixedLine FL_DATA
34cdf0e10cSrcweir    {
35cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4, 40 ) ;
36cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
37cdf0e10cSrcweir    };
38cdf0e10cSrcweir    FixedText FT_RADIOLABELS
39cdf0e10cSrcweir    {
40cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 52 ) ;
41cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, 24 ) ;
42cdf0e10cSrcweir        WordBreak = TRUE ;
43cdf0e10cSrcweir        Group = TRUE ;
44cdf0e10cSrcweir        Text [ en-US ] = "Which ~names do you want to give the option fields?" ;
45cdf0e10cSrcweir    };
46cdf0e10cSrcweir    Edit ET_RADIOLABELS
47cdf0e10cSrcweir    {
48cdf0e10cSrcweir        HelpID = "extensions:Edit:RID_PAGE_GROUPRADIOSELECTION:ET_RADIOLABELS" ;
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 79 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, 12 ) ;
51cdf0e10cSrcweir        SVLook = TRUE ;
52cdf0e10cSrcweir        Border = TRUE ;
53cdf0e10cSrcweir    };
54cdf0e10cSrcweir    PushButton PB_MOVETORIGHT
55cdf0e10cSrcweir    {
56cdf0e10cSrcweir        HelpID = "extensions:PushButton:RID_PAGE_GROUPRADIOSELECTION:PB_MOVETORIGHT" ;
57cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2, 79 ) ;
58cdf0e10cSrcweir        Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X, ITEM_BUTTON_SIZE_Y ) ;
59*bfdb928bSmseidel        Text = "~>" ;
60cdf0e10cSrcweir    };
61cdf0e10cSrcweir    PushButton PB_MOVETOLEFT
62cdf0e10cSrcweir    {
63cdf0e10cSrcweir        HelpID = "extensions:PushButton:RID_PAGE_GROUPRADIOSELECTION:PB_MOVETOLEFT" ;
64cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2, 79 + ITEM_BUTTON_SIZE_Y + 3 ) ;
65cdf0e10cSrcweir        Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X, ITEM_BUTTON_SIZE_Y ) ;
66*bfdb928bSmseidel        Text = "~<" ;
67cdf0e10cSrcweir    };
68cdf0e10cSrcweir    FixedText FT_RADIOBUTTONS
69cdf0e10cSrcweir    {
70cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + ITEM_BUTTON_SIZE_X / 2 + 6, 52 ) ;
71cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 6 - 7, 8 ) ;
72cdf0e10cSrcweir        Group = TRUE ;
73cdf0e10cSrcweir        Text [ en-US ] = "~Option fields" ;
74cdf0e10cSrcweir    };
75cdf0e10cSrcweir    ListBox LB_RADIOBUTTONS
76cdf0e10cSrcweir    {
77cdf0e10cSrcweir        HelpID = "extensions:ListBox:RID_PAGE_GROUPRADIOSELECTION:LB_RADIOBUTTONS" ;
78cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + ITEM_BUTTON_SIZE_X / 2 + 6, 79 ) ;
79cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 6 - 7, WINDOW_SIZE_Y - 79 - 6 ) ;
80cdf0e10cSrcweir        SVLook = TRUE ;
81cdf0e10cSrcweir        Border = TRUE ;
82cdf0e10cSrcweir        AutoHScroll = TRUE ;
83cdf0e10cSrcweir        Sort = FALSE ;
84cdf0e10cSrcweir    };
85cdf0e10cSrcweir};
86cdf0e10cSrcweir
87cdf0e10cSrcweirTabPage RID_PAGE_DEFAULTFIELDSELECTION
88cdf0e10cSrcweir{
89cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_DEFAULTFIELDSELECTION" ;
90cdf0e10cSrcweir    SVLook = TRUE ;
91cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
92cdf0e10cSrcweir    Text [ en-US ] = "Default Field Selection" ;
93cdf0e10cSrcweir
94cdf0e10cSrcweir    FixedLine FL_DEFAULTSELECTION
95cdf0e10cSrcweir    {
96cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4, 3 ) ;
97cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
98cdf0e10cSrcweir    };
99cdf0e10cSrcweir    FixedText FT_DEFAULTSELECTION
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 15 ) ;
102cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 24 ) ;
103cdf0e10cSrcweir        WordBreak = TRUE ;
104cdf0e10cSrcweir        Text [ en-US ] = "Should one option field be selected as a default?" ;
105cdf0e10cSrcweir    };
106cdf0e10cSrcweir    RadioButton RB_DEFSELECTION_YES
107cdf0e10cSrcweir    {
108cdf0e10cSrcweir        HelpID = "extensions:RadioButton:RID_PAGE_DEFAULTFIELDSELECTION:RB_DEFSELECTION_YES" ;
109cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 44 ) ;
110cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 10 ) ;
111cdf0e10cSrcweir        Group = TRUE ;
112cdf0e10cSrcweir        TabStop = TRUE ;
113cdf0e10cSrcweir        Text [ en-US ] = "~Yes, the following:" ;
114cdf0e10cSrcweir    };
115cdf0e10cSrcweir    ListBox LB_DEFSELECTIONFIELD
116cdf0e10cSrcweir    {
117cdf0e10cSrcweir        HelpID = "extensions:ListBox:RID_PAGE_DEFAULTFIELDSELECTION:LB_DEFSELECTIONFIELD" ;
118cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 42 ) ;
119cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 14 ) ;
120cdf0e10cSrcweir        TabStop = TRUE ;
121cdf0e10cSrcweir        SVLook = TRUE ;
122cdf0e10cSrcweir        Border = TRUE ;
123cdf0e10cSrcweir        DropDown = TRUE ;
124cdf0e10cSrcweir        AutoHScroll = TRUE ;
125cdf0e10cSrcweir        Sort = FALSE ;
126cdf0e10cSrcweir    };
127cdf0e10cSrcweir    RadioButton RB_DEFSELECTION_NO
128cdf0e10cSrcweir    {
129cdf0e10cSrcweir        HelpID = "extensions:RadioButton:RID_PAGE_DEFAULTFIELDSELECTION:RB_DEFSELECTION_NO" ;
130cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 59 ) ;
131cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
132cdf0e10cSrcweir        TabStop = FALSE ;
133cdf0e10cSrcweir        Text [ en-US ] = "No, one particular field is not going to be selected." ;
134cdf0e10cSrcweir    };
135cdf0e10cSrcweir};
136cdf0e10cSrcweir
137cdf0e10cSrcweirTabPage RID_PAGE_OPTIONVALUES
138cdf0e10cSrcweir{
139cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_OPTIONVALUES" ;
140cdf0e10cSrcweir    SVLook = TRUE ;
141cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
142cdf0e10cSrcweir    Text [ en-US ] = "Field Values" ;
143cdf0e10cSrcweir
144cdf0e10cSrcweir    FixedLine FL_OPTIONVALUES
145cdf0e10cSrcweir    {
146cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4, 3 ) ;
147cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
148cdf0e10cSrcweir    };
149cdf0e10cSrcweir    FixedText FT_OPTIONVALUES_EXPL
150cdf0e10cSrcweir    {
151cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 15 ) ;
152cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 24 ) ;
153cdf0e10cSrcweir        WordBreak = TRUE ;
154cdf0e10cSrcweir        Text [ en-US ] = "When you select an option, the option group is given a specific value." ;
155cdf0e10cSrcweir    };
156cdf0e10cSrcweir    FixedText FT_OPTIONVALUES
157cdf0e10cSrcweir    {
158cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 42 ) ;
159cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 16 ) ;
160cdf0e10cSrcweir        WordBreak = TRUE ;
161cdf0e10cSrcweir        Group = TRUE ;
162cdf0e10cSrcweir        Text [ en-US ] = "Which ~value do you want to assign to each option?" ;
163cdf0e10cSrcweir    };
164cdf0e10cSrcweir    Edit ET_OPTIONVALUE
165cdf0e10cSrcweir    {
166cdf0e10cSrcweir        HelpID = "extensions:Edit:RID_PAGE_OPTIONVALUES:ET_OPTIONVALUE" ;
167cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 61 ) ;
168cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 12 ) ;
169cdf0e10cSrcweir        SVLook = TRUE ;
170cdf0e10cSrcweir        Border = TRUE ;
171cdf0e10cSrcweir        TabStop = TRUE ;
172cdf0e10cSrcweir    };
173cdf0e10cSrcweir    FixedText FT_RADIOBUTTONS
174cdf0e10cSrcweir    {
175cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 15 ) ;
176cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 8 ) ;
177cdf0e10cSrcweir        Text [ en-US ] = "~Option fields" ;
178cdf0e10cSrcweir    };
179cdf0e10cSrcweir    ListBox LB_RADIOBUTTONS
180cdf0e10cSrcweir    {
181cdf0e10cSrcweir        HelpID = "extensions:ListBox:RID_PAGE_OPTIONVALUES:LB_RADIOBUTTONS" ;
182cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 26 ) ;
183cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 32 ) ;
184cdf0e10cSrcweir        SVLook = TRUE ;
185cdf0e10cSrcweir        Border = TRUE ;
186cdf0e10cSrcweir        AutoHScroll = TRUE ;
187cdf0e10cSrcweir        DropDown = FALSE ;
188cdf0e10cSrcweir    };
189cdf0e10cSrcweir};
190cdf0e10cSrcweir
191cdf0e10cSrcweirTabPage RID_PAGE_OPTIONS_FINAL
192cdf0e10cSrcweir{
193cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_OPTIONS_FINAL" ;
194cdf0e10cSrcweir    SVLook = TRUE ;
195cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
196cdf0e10cSrcweir    Text [ en-US ] = "Create Option Group" ;
197cdf0e10cSrcweir
198cdf0e10cSrcweir    FixedLine FL_NAMEIT
199cdf0e10cSrcweir    {
200cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4, 3 ) ;
201cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
202cdf0e10cSrcweir    };
203cdf0e10cSrcweir    FixedText FT_NAMEIT
204cdf0e10cSrcweir    {
205cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 15 ) ;
206cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
207cdf0e10cSrcweir        WordBreak = TRUE ;
208cdf0e10cSrcweir        Text [ en-US ] = "Which ~caption is to be given to your option group?" ;
209cdf0e10cSrcweir    };
210cdf0e10cSrcweir    Edit ET_NAMEIT
211cdf0e10cSrcweir    {
212cdf0e10cSrcweir        HelpID = "extensions:Edit:RID_PAGE_OPTIONS_FINAL:ET_NAMEIT" ;
213cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 34 ) ;
214cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 12 ) ;
215cdf0e10cSrcweir        SVLook = TRUE ;
216cdf0e10cSrcweir        Border = TRUE ;
217cdf0e10cSrcweir    };
218cdf0e10cSrcweir    FixedText FT_THATSALL
219cdf0e10cSrcweir    {
220cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, WINDOW_SIZE_Y - 22 ) ;
221cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
222cdf0e10cSrcweir        WordBreak = TRUE ;
223cdf0e10cSrcweir        Center = TRUE ;
224cdf0e10cSrcweir        Text [ en-US ] = "These were all details needed to create the option group." ;
225cdf0e10cSrcweir    };
226cdf0e10cSrcweir};
227cdf0e10cSrcweir
228cdf0e10cSrcweirString RID_STR_GROUPWIZ_DBFIELD
229cdf0e10cSrcweir{
230cdf0e10cSrcweir    Text [ en-US ] = "You can either save the value of the option group in a database field or use it for a later action." ;
231cdf0e10cSrcweir};
232cdf0e10cSrcweir
233*bfdb928bSmseidel// ********************************************************************** EOF
234