home *** CD-ROM | disk | FTP | other *** search
- gLabelDMProfile = zstring_width(zstring: '$$$/Dialogs/DocMan/Profile/Profile');
- gLabelDMTitle = zstring_width(zstring: '$$$/Dialogs/DocInfo/Title');
- gLabelDMAuthor = zstring_width(zstring: '$$$/Dialogs/DocInfo/Author');
- gLabelDMKeywords = zstring_width(zstring: '$$$/Dialogs/DocInfo/Keywords');
- gLabelDMDescription = zstring_width(zstring: '$$$/Dialogs/DocInfo');
-
- gLabelDMItemWidth = max(
- gLabelDMProfile,
- gLabelDMTitle,
- gLabelDMAuthor,
- gLabelDMKeywords,
- gLabelDMDescription,
- gLabelBinding) + max_char_width();
-
- dialog(name: '$$$/Dialogs/DocMan/Profile', first_tab: 'Titl')
- {
- group()
- {
- group(align_children: align_left)
- {
- view(align_children: align_left)
- {
- view(align_children: align_row)
- {
- gap(width: gLabelDMItemWidth - gLabelDMTitle);
- static_text(name: '$$$/Dialogs/DocInfo/Title');
- edit_text(item_id: 'Titl', width: (max_char_width() * 20), next_tab: 'Auth');
- }
- view(align_children: align_row)
- {
- gap(width: gLabelDMItemWidth - gLabelDMAuthor);
- static_text(name: '$$$/Dialogs/DocInfo/Author');
- edit_text(item_id: 'Auth', width: (max_char_width() * 20) , next_tab: 'Keyw');
- }
- view(align_children: align_row)
- {
- gap(width: gLabelDMItemWidth - gLabelDMDescription);
- static_text(name: '$$$/Dialogs/DocInfo');
- edit_text(item_id: 'Desc', width: (max_char_width() * 18), next_tab: 'Cmnt');
- }
- }
- cluster(name: '$$$/Dialogs/DocMan/Profile/VersionComments', align_children: align_left)
- {
- group()
- {
- view(align_children: align_row)
- {
- static_text(name: '$$$/Dialogs/DocMan/Profile/EnterComments');
- edit_text(item_id: 'Cmnt', height: 3 * gEditTextHeight, width: max_char_width() * 15, next_tab: 'Publ');
- }
- check_box(item_id: 'Publ', name: '$$$/Dialogs/DocMan/Profile/Publish', next_tab: 'Prof');
- }
- }
- }
- ok_cancel();
- }
- }
-