Xref: utzoo comp.windows.x:32728 comp.windows.x.motif:1927 Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uwm.edu!lll-winken!lll-crg.llnl.gov From: chapman@lll-crg.llnl.gov (Carol Chapman) Newsgroups: comp.windows.x,comp.windows.x.motif,llnl.x Subject: Need help (please!) with XmCommand widget history region Keywords: Motif 1.1, XmCommand history region Message-ID: <91176@lll-winken.LLNL.GOV> Date: 13 Feb 91 02:12:24 GMT Sender: usenet@lll-winken.LLNL.GOV Followup-To: comp.windows.x Organization: Livermore National Laboratory Lines: 19 Nntp-Posting-Host: lll-crg.llnl.gov I'm using Motif 1.1 (on VMS, but that shouldn't make a difference). I have a Command widget which has XmNsensitive set to False so that users can't enter commands from the screen, but my application can print messages to the widget. I set XmNvalue with the current message, but I can't figure out how to get the previous message up into the history region. I would like the 2 previous messages to appear in the history region. I have XmNhistoryMaxItems and XmNhistoryVisibleItemCount set to 2. I'm not sure how/if/when to set XmNhistoryItems and/or XmNhistoryItemCount. Can anyone help? thanx, carol (if chapman1@llnl.gov doesn't work, use chapman@lll-crg.llnl.gov) Carol Chapman Tel. (415) 423-7876 Livermore National Laboratory NEW --> chapman1@.llnl.gov P. O. Box 808, L-572 "Are you in charge here?" Livermore, CA 94550 "No, but I'm full of ideas!" -- Dr. Who