<< Click to Display Table of Contents >> SetResourceString |
[GUI Control Only, not supported by the Community Edition]
If you set the GUILanguage to UserDefined, you can specify freely any text in any language for each element of the GUI.
method void VPE.SetResourceString(
ResourceId [int] Id,
string Text
)
ResourceId [int] Id
possible values are:
ActiveX / VCL |
Value |
Enum |
Comment |
VRSCID_COPY_OF |
0 |
CopyOf |
"Copy %u of %u" |
VRSCID_PAGE_OF |
1 |
PageOf |
"Page %u of %u" |
VRSCID_BAND |
2 |
Band |
"Band %u" (i.e. "stripe" = "band") |
VRSCID_ERROR |
3 |
Error |
"Error" |
VRSCID_WARNING |
4 |
Warning |
"Warning" |
VRSCID_PRINTING |
5 |
Printing |
"Printing" |
VRSCID_CANCEL |
6 |
Cancel |
"Cancel" |
VRSCID_OK |
7 |
Ok |
"Ok" |
|
|
|
|
Printer Setup Dialog: |
|
|
|
VRSCID_PD_TITLE |
8 |
PdTitle |
dialog title "Print" |
VRSCID_PD_PRINTER |
9 |
PdPrinter |
group box "Printer" |
VRSCID_PD_PROPERTIES |
10 |
PdProperties |
button "&Properties" |
VRSCID_PD_NAME |
11 |
PdName |
printer name combo box "&Name:" |
VRSCID_PD_RANGE |
12 |
PdRange |
group box "Print range" |
VRSCID_PD_ALL |
13 |
PdAll |
radio button "&All" |
VRSCID_PD_PAGES |
14 |
PdPages |
radio button "Pa&ges" |
VRSCID_PD_FROM |
15 |
PdFrom |
static text "&from:" |
VRSCID_PD_TO |
16 |
PdTo |
static text "&to:" |
VRSCID_PD_COPIES |
17 |
PdCopies |
group box "Copies" |
VRSCID_PD_NUM_COPIES |
18 |
PdNumCopies |
static text "Number of &copies:" |
VRSCID_PD_COLLATE |
19 |
PdCollate |
static text "C&ollate" |
|
|
|
|
Tooltips: |
|
|
|
VRSCID_PRINT_DOC |
20 |
PrintDoc |
"Print the Document" |
VRSCID_FULL_PAGE |
21 |
FullPage |
"Show Full Page" |
VRSCID_PAGE_WIDTH |
22 |
PageWidth |
"Fit Page Width" |
VRSCID_ZOOM_IN |
23 |
ZoomIn |
"Zoom in" |
VRSCID_ZOOM_OUT |
24 |
ZoomOut |
"Zoom out" |
VRSCID_FIRST_PAGE |
25 |
FirstPage |
"Go to First Page" |
VRSCID_PREV_PAGE |
26 |
PrevPage |
"Go to Previous Page" |
VRSCID_NEXT_PAGE |
27 |
NextPage |
"Go to Next Page" |
VRSCID_LAST_PAGE |
28 |
LastPage |
"Go to Last Page" |
VRSCID_HELP |
29 |
Help |
"Help on Control" |
VRSCID_INFORMATION |
30 |
Information |
"Program Information" |
VRSCID_CLOSE_PREVIEW |
31 |
ClosePreview |
"Close Preview" |
VRSCID_GRID |
32 |
Grid |
"Show / Hide Grid" |
VRSCID_ENTER_PAGENO |
33 |
EnterPageno |
"enter page# with mouse-click" |
VRSCID_ZOOM_FACTOR |
34 |
ZoomFactor |
"Zoom Factor" |
VRSCID_STATUS |
35 |
Status |
"Status" |
VRSCID_READY |
36 |
Ready |
"Ready" |
VRSCID_EMAIL |
37 |
"eMail" |
|
VRSCID_OPEN |
38 |
Open |
"Open" |
VRSCID_SAVE |
39 |
Save |
"Save" |
|
|
|
|
Other: |
|
|
|
VRSCID_ERROR_OPEN |
40 |
ErrorOpen |
"Could not open file!" |
VRSCID_ERROR_WRITE |
41 |
ErrorWrite |
"Could not write file!" |
|
|
|
|
Usage Help Dialog: |
|
|
|
VRSCID_USAGE |
42 |
Usage |
"Usage" (caption of the help-dialog) |
VRSCID_MOUSE |
43 |
Mouse |
"Mouse" |
VRSCID_USAGE_MOUSE |
44 |
UsageMouse |
<all mouse usage text, lines separated by carriage return or linefeed> |
VRSCID_KEYBOARD |
45 |
Keyboard |
"Keyboard" |
VRSCID_USAGE_KEYBOARD |
46 |
UsageKeyboard |
<all keyboard usage text, lines separated by carriage return or linefeed > |
string Text
The text that shall be used for the specified resource.