home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
Chip_2004-04_cd2.bin
/
program
/
reader
/
Data1.cab
/
EScript.api
/
EXVW
/
5700
next >
Wrap
Text File
|
2003-07-17
|
3KB
|
73 lines
gMaxWidth=max(
zstring_width(zstring: '$$$/Dialogs/JSPrefs/Font'),
zstring_width(zstring: '$$$/Dialogs/JSPrefs/FontSize'));
dialog(name: '$$$/Dialogs/JSPrefs', margin_height: 0, margin_width: 0)
{
view(align_children: align_left, dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth)
{
cluster(item_id: 'clu1', name: '$$$/Dialogs/JSPrefs/General', dwidth: gPrefsPanelWidth, align_children: align_left)
{
check_box(item_id: 'enab', name: '$$$/Dialogs/JSPrefs/Enable');
}
cluster(item_id: 'clu3', name: '$$$/Dialogs/JSPrefs/Debugger', dwidth: gPrefsPanelWidth, align_children: align_left)
{
check_box(item_id: 'debu', name: '$$$/Dialogs/JSPrefs/Debug');
check_box(item_id: 'save', name: '$$$/Dialogs/JSPrefs/Save');
static_text(item_id: 'excp', name: '$$$/Dialogs/JSPrefs/Exception/Message');
view(align_children: align_row)
{
gap(width: 4);
radio(item_id: 'rad3', name: '$$$/Dialogs/JSPrefs/Exception/Ignore');
}
view(align_children: align_row)
{
gap(width: 4);
radio(item_id: 'rad4', name: '$$$/Dialogs/JSPrefs/Exception/Trace');
}
view(align_children: align_row)
{
gap(width: 4);
radio(item_id: 'rad5', name: '$$$/Dialogs/JSPrefs/Exception/Brake');
}
check_box(item_id: 'inpu', name: '$$$/Dialogs/JSPrefs/Input');
check_box(item_id: 'open', name: '$$$/Dialogs/JSPrefs/Open');
}
cluster(item_id: 'clu2', name: '$$$/Dialogs/JSPrefs/Editor', dwidth: gPrefsPanelWidth, align_children: align_left)
{
radio(item_id: 'rad1', name: '$$$/Dialogs/JSPrefs/Native');
view(align_children: align_row)
{
gap();
view(align_children: align_right, width : gMaxWidth)
{
static_text(name: '$$$/Dialogs/JSPrefs/Font');
}
view(align_children: align_left)
{
popup(item_id: 'font', width: max_char_width() * 18);
}
}
view(align_children: align_row)
{
gap();
view(align_children: align_right, width : gMaxWidth)
{
static_text(name: '$$$/Dialogs/JSPrefs/FontSize');
}
view(align_children: align_left)
{
edit_text(item_id: 'fsiz', width: max_char_width() * 3, PopupEdit: true, numeric: true);
}
}
radio(item_id: 'rad2', name: '$$$/Dialogs/JSPrefs/External');
view(align_children: align_row)
{
gap(width: 8);
edit_text(item_id: 'edit', width: max_char_width() * 25);
button(item_id: 'bttn', width: 5, name: '$$$/Dialogs/JSPrefs/Path');
}
}
}
}