home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2003 August
/
VPR0308.ISO
/
ADOBEREADER60
/
Installer
/
Data1.cab
/
Acroform.JPN
/
EXVW
/
7010
< prev
next >
Wrap
Text File
|
2003-05-21
|
3KB
|
111 lines
gNameWidth = max(
zstring_width(zstring: '$$$/Dialogs/FieldProps/Name'),
zstring_width(zstring: '$$$/Dialogs/FieldProps/ToolTip'));
gEditItemWidth = max_char_width() * 20;
gPopupWidth = max(
zstring_width(zstring: '$$$/Dialogs/FieldProps/Orientation'),
zstring_width(zstring: '$$$/Dialogs/FieldProps/Visibility'));
gOrientationWidth = max(
zstring_width(zstring: '$$$/Dialogs/FieldProps/Rotation/ZERO'),
zstring_width(zstring: '$$$/Dialogs/FieldProps/Rotation/NINTY'),
zstring_width(zstring: '$$$/Dialogs/FieldProps/Rotation/ONEEIGHTY'),
zstring_width(zstring: '$$$/Dialogs/FieldProps/Rotation/TWOSEVENTY'));
gVisibilityPopupWidth = max(
zstring_width(zstring: '$$$/Dialogs/FieldProps/View/VISIBLE'),
zstring_width(zstring: '$$$/Dialogs/FieldProps/View/HIDDEN'),
zstring_width(zstring: '$$$/Dialogs/FieldProps/View/NOPRINT'),
zstring_width(zstring: '$$$/Dialogs/FieldProps/View/NOVIEW'));
gName = '$$$/Dialogs/FieldProps/Name';
gToolTip = '$$$/Dialogs/FieldProps/ToolTip';
gCommonProps = '$$$/Dialogs/FieldProps/CommonProps';
gReadOnly = '$$$/Dialogs/FieldProps/ReadOnly';
gRequired = '$$$/Dialogs/FieldProps/Required';
gVisibility = '$$$/Dialogs/FieldProps/Visibility';
gOrientation = '$$$/Dialogs/FieldProps/Orientation';
gDegrees = '$$$/Dialogs/FieldProps/Degrees';
dialog(name: '$$$/Dialogs/FieldProps', target_id: 'name')
{
view(align_children: align_top, alignment: align_fill)
{
view(align_children: align_left, alignment: align_fill)
{
view(align_children: align_row, alignment: align_fill)
{
view(align_children: align_right, width: gNameWidth)
{
static_text(item_id: 'snam', name: gName);
}
view(align_children: align_left)
{
edit_text(item_id: 'name', width: gEditItemWidth);
}
}
view(align_children: align_row, alignment: align_fill)
{
view(align_children: align_right, width: gNameWidth)
{
static_text(item_id: 'stti', name: gToolTip);
}
view(align_children: align_left)
{
edit_text(item_id: 'ttip', width: gEditItemWidth);
}
}
gap(width: gGap);
gap(width: gGap);
cluster(item_id:'clcp', name: gCommonProps, align_children: align_row)
{
view(align_children: align_left)
{
view(align_children: align_row, alignment: align_fill)
{
view(align_children: align_right, width: gPopupWidth)
{
static_text(name: gVisibility);
}
view(align_children: align_fill, alignment: align_fill)
{
popup(item_id: 'vsbl', width: gVisibilityPopupWidth);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width: gPopupWidth)
{
static_text(name: gOrientation);
}
view(align_children: align_left)
{
popup(item_id: 'rota', width: gOrientationWidth);
}
view(align_children: align_left)
{
static_text(name: gDegrees);
}
}
}
gap(width: gGap);
gap(width: gGap);
view(alignment: align_right, align_children: align_left)
{
view(align_children: align_row)
{
check_box(item_id: 'read', name: gReadOnly);
}
view(align_children: align_row)
{
check_box(item_id: 'reqd', name: gRequired);
}
}
}
}
}
}