home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
Chip_2004-04_cd2.bin
/
program
/
reader
/
Data1.cab
/
Annots.api
/
EXVW
/
20120
< prev
next >
Wrap
Text File
|
2003-07-17
|
3KB
|
70 lines
gEMRButtonStringWidth=max(
zstring_width(zstring: '$$$/Dialogs/EmailReview/To'),
zstring_width(zstring: '$$$/Dialogs/EmailReview/Cc'),
zstring_width(zstring: '$$$/Dialogs/EmailReview/Bcc'));
gEMRLabelWidth=max(
zstring_width(zstring: '$$$/Dialogs/EmailReview/Subject'),
zstring_width(zstring: '$$$/Dialogs/EmailReview/Attachment'),
zstring_width(zstring: '$$$/Dialogs/EmailReview/Status'));
gEMRButtonWidth = max(gEMRButtonStringWidth, gEMRLabelWidth - 10);
gEMRItemWidth = max(gEMRButtonWidth, gEMRLabelWidth);
gEMRSubjectGap = gEMRItemWidth - zstring_width(zstring: '$$$/Dialogs/EmailReview/Subject');
gEMRAttachGap = gEMRItemWidth - zstring_width(zstring: '$$$/Dialogs/EmailReview/Attachment');
gEMRStatusGap = gEMRItemWidth - zstring_width(zstring: '$$$/Dialogs/EmailReview/Status');
gEMRInstructionalWidth = max_digit_width() * 60;
gEMRStringLabelWidth = max_digit_width() * 32;
dialog(item_id: 'wtst', name: '$$$/Dialogs/EmailReview')
{
view(align_children: align_left)
{
static_text(item_id:'txt1', name: '$$$/Dialogs/EmailReview/Txt1', height: gStaticTextHeight * 3, width: gEMRInstructionalWidth);
static_text(item_id:'txt2', name: '$$$/Dialogs/EmailReview/Txt2', height: gStaticTextHeight * 5, width: gEMRInstructionalWidth);
view(align_children: align_row, alignment: align_fill)
{
button(item_id: 'tobu', width: gEMRButtonWidth, name: '$$$/Dialogs/EmailReview/To');
edit_text(item_id: 'toet', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
button(item_id: 'ccbu', width: gEMRButtonWidth, name: '$$$/Dialogs/EmailReview/Cc');
edit_text(item_id: 'ccet', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
button(item_id: 'bccb', width: gEMRButtonWidth, name: '$$$/Dialogs/EmailReview/Bcc');
edit_text(item_id: 'bcce', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gEMRSubjectGap);
static_text(name: '$$$/Dialogs/EmailReview/Subject');
edit_text(item_id: 'sube', alignment: align_fill);
}
view(align_children: align_top, alignment: align_fill)
{
gap(width: gEMRAttachGap);
static_text(item_id:'atl ', name: '$$$/Dialogs/EmailReview/Attachment');
static_text(item_id:'atst', width: gEMRStringLabelWidth, height: gStaticTextHeight * 2);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gEMRStatusGap);
static_text(item_id:'stxt', name: '$$$/Dialogs/EmailReview/Status');
popup(item_id: 'stat', width: max_char_width() * 10);
}
view(alignment: align_left)
{
static_text(item_id: 'msgl', width: max_char_width() * 32);
}
view(align_children: align_center)
{
edit_text( item_id: 'boet', width: max_char_width() * 32, height: gEditTextHeight*6, alignment: align_fill, multiline: true);
}
ok_cancel_help(ok_name: '$$$/Dialogs/EmailReview/Send');
}
}