Arbortext Command Language > Functions by Alphabetical Listing > dlgitem_get_mnemonic
  
dlgitem_get_mnemonic
dlgitem_get_mnemonic (win, dlgitem)
Returns the letter that is the mnemonic for the dialog item specified by dlgitem in the window specified by win. If win or dlgitem are invalid, then $ERROR is set and the empty string ("") is returned. If the specified dlgitem has no mnemonic, the empty string ("") is returned.
The win parameter is a window identifier. dlgitem is the value of the control's id attribute.
Example
mnem_letter = dlgitem_get_mnemonic($win, "matchMarkup")
Related Topics
dlgitem_set_mnemonic function