home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September (Special)
/
Chip-Special_2004-09_Digitalni-Hudba.bin
/
servis
/
reader
/
Data1.cab
/
PPKLite.api
/
EXVW
/
20001
next >
Wrap
Text File
|
2003-07-17
|
3KB
|
70 lines
gTotalButtonWidth = 40 + 30 + 40 +
zstring_width(zstring: '$$$/Dialogs/Cert/ButtonIssuer') +
zstring_width(zstring: '$$$/Dialogs/Cert/ButtonWinDetails');
gMaxTopStaticWidth = max(
zstring_width(zstring: '$$$/Dialogs/Cert/IssuedTo') + 10,
zstring_width(zstring: '$$$/Dialogs/Cert/IssuedBy') + 10,
zstring_width(zstring: '$$$/Dialogs/Cert/ValidFrom') + 10,
zstring_width(zstring: '$$$/Dialogs/Cert/Trust') + 10);
gMinTopEditWidth = max_char_width() * 18;
gListHeight = gEditTextHeight * 4;
gMaxControlWidth = max( gMaxTopStaticWidth + 10 + gMinTopEditWidth, gTotalButtonWidth, 450 );
dialog(name: '$$$/Dialogs/Cert', target_id: 'name' )
{
view(align_children: align_left, alignment: align_fill)
{
cluster( name: '$$$/Dialogs/Cert/GeneralClusterName', align_children: align_left, width: gMaxControlWidth)
{
view(align_children: align_top, alignment: align_fill)
{
picture(item_id: 'icon', width: 32, height: 32);
view( align_children: align_left, alignment: align_fill )
{
view(align_children: align_row, alignment: align_fill)
{
static_text(name: '$$$/Dialogs/Cert/IssuedTo', width: gMaxTopStaticWidth, alignment: align_right, font_id: 5 );
static_text(item_id: 'isTo', alignment: align_fill, font_id: 5);
}
view(align_children: align_row, alignment: align_fill)
{
static_text(name: '$$$/Dialogs/Cert/IssuedBy', width: gMaxTopStaticWidth, alignment: align_right, font_id: 5);
static_text(item_id: 'isBy', alignment: align_fill, font_id: 5);
}
view(align_children: align_row, alignment: align_fill)
{
static_text(name: '$$$/Dialogs/Cert/ValidFrom', width: gMaxTopStaticWidth, alignment: align_right, font_id: 5);
static_text(item_id: 'vald', alignment: align_fill, font_id: 5);
}
}
}
button( item_id: 'polB', name: '$$$/Dialogs/Cert/ButtonPolicy', alignment: align_right );
cluster( name: '$$$/Dialogs/Cert/Version1Attrs', align_children: align_left, alignment: align_fill)
{
list_box( item_id: 'ver1', readonly: true, dheight: gListHeight, alignment: align_fill );
}
cluster( name: '$$$/Dialogs/Cert/Extensions', align_children: align_left, alignment: align_fill)
{
list_box( item_id: 'extn', readonly: true, dheight: 5 + gEditTextHeight * 3 , alignment: align_fill );
}
cluster( name: '$$$/Dialogs/Cert/Properties', align_children: align_left, alignment: align_fill)
{
list_box( item_id: 'prop', readonly: true, dheight: 5 + gEditTextHeight * 2, alignment: align_fill );
}
view(align_children: align_top, alignment: align_right)
{
button( item_id: 'expt', name: '$$$/Dialogs/AddressBook/ExportButton' );
button( item_id: 'detB', name: '$$$/Dialogs/Cert/ButtonWinDetails' );
button( item_id: 'issB', name: '$$$/Dialogs/Cert/ButtonIssuer', alignment: align_right);
}
}
ok_help( ok_name: '$$$/Dialogs/CloseButton' );
}
}