Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!usc!samsung!xylogics!merk!spdcc!tauxersvilli!alphalpha!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x Subject: Re: XmText inside BulletinBoard Message-ID: <1990Oct26.225209.16469@alphalpha.com> Date: 26 Oct 90 22:52:09 GMT References: <1990Oct25.013901.7277@silvlis.com> Organization: asi Lines: 28 In article <1990Oct25.013901.7277@silvlis.com> luiw@silvlis.com (Hok Lui Wong) writes: >I have this problem right now: > >When I create an XmText widget inside a XmBulletinBoard, >Return works. That means XmNactivateCallback is >called by activate(). > >But when I create an XmText widget inside a BulletinBoardDialogShell, >Return does not work. That means XmNactivateCallback is not called. >Then I redefine the translation for Backspace to acitvate(). >In this case, XmNactivatecallback is called by activate(). > >Could anybody explain why the Return doesn't work in the >second case? There is no such thing as a BulletinBoardDialogShell (that would make sense!). There are DialogShell's and there's BulletinBoard. In 1.0 BulletinBoard installs the activate translation on the text widget if its parent is a dialogshell. If you don't use the intermediate bulletin board you'll have to install the translation yourself. -- Alphalpha Software, Inc. | motif-request@alphalpha.com nazgul@alphalpha.com |----------------------------------- 617/646-7703 (voice/fax) | Proline BBS: 617/641-3722 I'm not sure which upsets me more; that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.