home *** CD-ROM | disk | FTP | other *** search
- gMaxZoomWidth=max(
- zstring_width(zstring: '$$$avFixedZoom'),
- zstring_width(zstring: '$$$avFitView'),
- zstring_width(zstring: '$$$avFitPage'),
- zstring_width(zstring: '$$$avFitHeight'),
- zstring_width(zstring: '$$$avFitWidth'),
- zstring_width(zstring: '$$$avFitVisible'),
- zstring_width(zstring: '$$$avInheritZoom'));
-
- gZoomPopupWidth = 100;
-
- gIndentExpl = max(
- zstring_width(zstring: '$$$/Dialogs/GotoView/Zoom'),
- zstring_width(zstring: '$$$/Dialogs/GotoView/Page')) + (max_char_width() * 1);
-
- gIndentDoc = max(
- zstring_width(zstring: '$$$/Dialogs/GotoView/File'),
- zstring_width(zstring: '$$$/Dialogs/GotoView/OpenPreference')) + (max_char_width() * 1);
-
- gIndentName = zstring_width(zstring: '$$$/Dialogs/GotoView/DestinationName') + (max_char_width() * 1);
-
-
-
- gMaxButtonWidth = max(
- zstring_width(zstring: '$$$/Dialogs/GotoView/ChooseNamedDest'),
- zstring_width(zstring: '$$$/Dialogs/GotoView/ChoosePathName'));
-
- gLabelFirst = max(
- zstring_width(zstring: '$$$/Dialogs/GotoView/File'),
- zstring_width(zstring: '$$$/Dialogs/GotoView/OpenPreference'));
- gLabelSecond = max(
- zstring_width(zstring: '$$$/Dialogs/GotoView/Zoom'),
- zstring_width(zstring: '$$$/Dialogs/GotoView/Page'),
- zstring_width(zstring: '$$$/Dialogs/GotoView/DestinationName'));
-
- gPathWidth = (max_char_width() * 17) + gLabelSecond;
-
- gOpenWidth = max(
- zstring_width(zstring: '$$$avGotoViewObeyUserPreference'),
- zstring_width(zstring: '$$$avGotoViewOpenInNewWindow'),
- zstring_width(zstring: '$$$avGotoViewOpenInCurrentWindow'));
-
- gPageWidth = (max_char_width() * 8);
-
- dialog(name: '$$$/Dialogs/GotoView/RemoteTitle', first_tab: 'brow')
- {
- view(align_children: align_left)
- {
- cluster(item_id: 'cls1', name: '$$$/Dialogs/GotoView/Document', align_children: align_left, alignment: align_fill)
- {
- view(align_children: align_row)
- {
- view(align_children: align_row, width: gPathWidth)
- {
- static_text(item_id: 'lPat', name: '$$$/Dialogs/GotoView/File', alignment: align_right, width: gLabelFirst);
- static_text(item_id: 'path', name: '$$$/Dialogs/FileNotSpecified', alignment: align_fill);
- }
- button(item_id: 'brow', name: '$$$/Dialogs/FileBrowse', next_tab: 'open');
- }
- view(align_children: align_row)
- {
- static_text(item_id: 'lOpe', name: '$$$/Dialogs/GotoView/OpenPreference', alignment: align_right, width: gLabelFirst);
- popup(item_id: 'open', width: gOpenWidth, next_tab: 'expl');
- }
- }
- cluster(item_id: 'cls2', name: '$$$/Dialogs/GotoView/Options', align_children: align_left, alignment: align_fill)
- {
- radio(item_id: 'expl', name: '$$$/Dialogs/GotoView/Explicit', next_tab: 'rNam');
- group()
- {
- view(align_children: align_row)
- {
- gap(width: max_char_width() * 2);
- static_text(item_id: 'lPag', name: '$$$/Dialogs/GotoView/Page', alignment: align_right, width: gLabelSecond);
- edit_text(item_id: 'page', width: gPageWidth, next_tab: 'zoom');
- static_text(item_id: 'sPgs', name: '$$$/Dialogs/CreateLink/NumOfPages', width: max_char_width()*8);
- }
- view(align_children: align_row)
- {
- gap(width: max_char_width() * 2);
- static_text(item_id: 'lZoo', name: '$$$/Dialogs/GotoView/Zoom', alignment: align_right, width: gLabelSecond);
- popup(item_id: 'zoom', width: gMaxZoomWidth, next_tab: 'bNam');
- }
- }
- radio(item_id: 'rNam', name: '$$$/Dialogs/GotoView/Named', next_tab: 'page');
- view(align_children: align_row)
- {
- view(align_children: align_row, width: gPathWidth)
- {
- gap(width: max_char_width() * 2);
- static_text(item_id: 'lNam', name: '$$$/Dialogs/GotoView/DestinationName', alignment: align_right, width: gLabelSecond);
- static_text(item_id: 'sNam', name: '$$$/Dialogs/GotoView/DestNotSpecified', alignment: align_fill);
- }
- button(item_id: 'bNam', name: '$$$/Dialogs/GotoView/ChooseName');
- }
- }
- ok_cancel();
- }
- }
-