PML Customisation
User Guide
Gadget Set
:
Examples
: Multi-lingual Form
Multi-lingual Form
This section shows a multi-lingual form using a Tabset frame with three Tabbed-page frames and a Fold-up panel. Each page shows essentially the same page design but using Russian, Chinese and English (Unicode) characters.
The extract from the PML code of the form Unicode.pmlfrm demonstrates the use of multi-lingual gadget names, variable names and form method names.
layout form !!Unicode dialog dock left NoAlign VarChars size 41 5
title |Form !!Unicode|
-- set form members to support sharing of the callback methods
-- between the different language versions of the pages
member .EnglishColours is ARRAY
member .RussianColours is ARRAY
member .ChineseColours is ARRAY
member .ColourNames is ARRAY
member .colourPara is GADGET
member .colourCombo is GADGET
member .textField is GADGET
vdist 0.25
hdist 0.5
frame .Tabset TABSET 'tabset' anchor L+R+T wid 41
. . .
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.