Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
Is it possible to have a menu bar with two lines per pulldown menu entry? I haven't hit on the right possible combination to get this to work under DECwindows V2 on VMS 5.3 using UIL... It appears that the 'linefeed char', \n is being ignored by the menu bar - even though I would expect to see: Do File Do Customize Stuff Stuff I see: Do File Stuff Do Customize Stuff In my UIL file, I have: . . . value k_file_label : compound_string('Do File\n Stuff'); k_customize_label : compound_string('Do Customize\n Stuff'); . . . b_menu_bar : private menu_bar { arguments { height = 40; orientation = DwtOrientationHorizontal; menu_packing = DwtMenuPackingTight; }; controls { pulldown_entry b_file_entry; pulldown_entry b_setup_entry; }; }; . . . b_file_entry : private pulldown_entry { arguments { conform_to_text = true; label_label = k_file_label; }; controls { pulldown_menu b_file_menu; }; Any ideas? How about another way of doing this? A customer wanted to know how to do this... Rick Beldin CSC/AT
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2385.1 | PEACHS::BELDIN | Fri Mar 02 1990 12:02 | 18 | ||
Found out how to do it in UIL under v2... You need to specify the separate = true parameter (attribute?) to the compound_string function in UIL (in the V5.3 UIL doc) or specify the version qualifier on the UIL compile, /VERSION=V1. k_do_file_label : compound_string('Do File',separate=true); k_stuff_label :compound_string('Stuff'); k_file_label : k_do_file_label & k_stuff_label; k_setup_label : compound_string('Setup...'); k_do_customize_label : compound_string('Do Customize',separate=true); k_customize_label : k_do_customize_label & k_stuff_label; The above works... Rick Beldin CSC/AT |