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