cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Using a dropdown list instead of radio buttons

lhales
1-Newbie

Using a dropdown list instead of radio buttons

Sylvain,
Take a look at the various menu command, especially the menu_add command (help 9122). This allows you to add a menu item (or new group) to the menu. You can even add popout menus.
Here is some code that I use to add a custom drop down menu to my Epic bar. You could probably also use XUI, but I've had this since before XUI came out. It is native ACL.
mad -menu .ID "Local"
mad
.Local. "Add ID counter PI" -cmd {idctradd()} -active "doc_type() != 'ascii";
mad
.Local. "Expand All Elements" -cmd {expndall()} -active "doc_type() != 'ascii";
mad
.Local. "Gentext Tags" -active "doc_type() != 'ascii" \
-toggle "option('gentext')=='on" \
-cmd {toggle gentext} -active "doc_type() != 'ascii";
mad
.Local. "Read Start Tag" -cmd {eval oid_content(oid_caret(),1,1)} -active "doc_type() != 'ascii";
You can also use a popup menu (help 298) in ACL. The following add some extra functions to the right click default popup.
mad :EditPopup Context -cmd {toggle contextrules}
mad :EditPopup
'Modify Attributes' -cmd {ModifyAttributes}
A lot of what I do is troubleshoot other peoples problems with our DTD and such. So what you are seeing are some tools to give me quick info on a particular element.
Lynn
-----"Castonguay, Sylvain" <sylvain.castonguay@brp.com> wrote: -----

To: <adepters@arbortext.com>
0 REPLIES 0
Announcements