home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September (Special)
/
Chip-Special_2004-09_Digitalni-Hudba.bin
/
servis
/
reader
/
Data1.cab
/
RdLang32.CZE
/
EXVW
/
10096
< prev
next >
Wrap
Text File
|
2003-07-19
|
3KB
|
92 lines
gVerticalGapHeight = (gStaticTextHeight / 4);
gFilename = zstring_width(zstring: '$$$/Dialogs/Attachments/Filename');
gCreation = zstring_width(zstring: '$$$/Dialogs/Attachments/CreationDate');
gModification = zstring_width(zstring: '$$$/Dialogs/Attachments/ModificationDate');
gMime = zstring_width(zstring: '$$$/Dialogs/Attachments/MimeType');
gSize = zstring_width(zstring: '$$$/Dialogs/Attachments/Size');
gLabelWidth = max(
gFilename,
gCreation,
gModification,
gMime,
gSize
) + max_char_width();
dialog(name: '$$$/Dialogs/Attachments')
{
view(align_children: align_left)
{
view(align_children: align_left)
{
view(align_children: align_row)
{
hier_list_box(item_id: 'list', width: 20 * max_char_width(), height: 250);
view(align_children: align_left, width: 350)
{
view(align_children: align_row, alignment: align_fill)
{
static_text(item_id : 'filt', name: '$$$/Dialogs/Attachments/Title');
edit_text(item_id: 'name', alignment: align_fill);
}
cluster(name: '$$$/Dialogs/Attachments/Details', alignment: align_fill)
{
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelWidth - gFilename);
static_text(name: '$$$/Dialogs/Attachments/Filename', width: gFilename);
static_text(item_id: 'file', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelWidth - gCreation);
static_text(name: '$$$/Dialogs/Attachments/CreationDate', width: gCreation);
static_text(item_id: 'crea', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelWidth - gModification);
static_text(name: '$$$/Dialogs/Attachments/ModificationDate', width: gModification);
static_text(item_id: 'modi', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelWidth - gMime);
static_text(name: '$$$/Dialogs/Attachments/MimeType', width: gMime);
static_text(item_id: 'mime', alignment: align_fill);
}
view(align_children: align_row, alignment: align_fill)
{
gap(width: gLabelWidth - gSize);
static_text(name: '$$$/Dialogs/Attachments/Size', width: gSize);
static_text(item_id: 'size', alignment: align_fill);
}
}
progress_bar(item_id: 'prog', alignment: align_fill);
static_text(item_id: 'stat', alignment: align_fill);
}
}
view(align_children: align_top)
{
button(item_id: 4, name: '$$$/ControlsStrings/Help');
button(item_id: 'open', name: '$$$/Dialogs/Attachments/Open');
button(item_id: 'mprt', name: '$$$/Dialogs/Attachments/Import');
button(item_id: 'xprt', name: '$$$/Dialogs/Attachments/Export');
button(item_id: 'delt', name: '$$$/Dialogs/Attachments/Delete');
}
}
ok(ok_name: '$$$/Dialogs/Attachments/Close');
}
}