home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
Chip_2004-04_cd2.bin
/
program
/
reader
/
Data1.cab
/
Annots.api
/
EXVW
/
20040
< prev
next >
Wrap
Text File
|
2003-07-17
|
2KB
|
63 lines
W_COLUMN = 160;
W_LABELS=max(
zstring_width(zstring: '$$$/Dialogs/Generic/Author'),
zstring_width(zstring: '$$$/Dialogs/Generic/Date1'),
zstring_width(zstring: '$$$/Panels/Generic/Subject'),
zstring_width(zstring: '$$$/Panels/Generic/Description'));
dialog()
{
view(align_children: align_left)
{
view(align_children: align_left, width: 2 * W_COLUMN)
{
view(align_children: align_row)
{
view(align_children: align_right, width: W_LABELS)
{
static_text(item_id: 'txt1', name: '$$$/Dialogs/Generic/Author');
}
view(align_children: align_left)
{
edit_text(item_id: 'auth', alignment: align_fill, width: 8 * max_char_width(), height: gEditTextHeight);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width: W_LABELS)
{
static_text(item_id: 'txt3', name: '$$$/Panels/Generic/Subject');
}
view(align_children: align_left)
{
edit_text(item_id: 'subj', alignment: align_fill, width: 12 * max_char_width(), height: gEditTextHeight);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width : W_LABELS)
{
static_text(item_id: 'txt2', name: '$$$/Dialogs/Generic/Date1');
}
view(align_children: align_left)
{
static_text(item_id: 'date', width: 12 * max_char_width());
}
}
view(align_children: align_row)
{
view(align_children: align_right, width: W_LABELS)
{
static_text(item_id: 'dscl', name: '$$$/Panels/Generic/Description');
}
view(align_children: align_left)
{
edit_text(item_id: 'dscr', alignment: align_fill, width: 12 * max_char_width(), height: gEditTextHeight);
}
}
}
gap(height: 2 * gEditTextHeight);
}
}