Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!osf.org!meeks From: meeks@osf.org (W. Scott Meeks) Newsgroups: comp.windows.x.motif Subject: Re: Help : unable to create a PromptDialog using UIL. Message-ID: <9104011802.AA16445@clew> Date: 1 Apr 91 18:02:32 GMT References: <923@edfder1.fr> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 19 >Date: 29 Mar 91 10:16:07 GMT >From: eru!hagbard!sunic!mcsun!corton!inria!edfder1!cli52gp!zi@bloom-beacon.mit.edu (...Zixiong WANG N 005 47.50.59 ) > > I use UIL for a Motif application project, and I need a PromptDialog box. >I take a XmSelectionDialog with XmNdialogType set to XmDIALOG_PROMPT, but UIL >seems to ignore this resource so that I have always the list and the list label >displayed. When I examine the value of this resource after the widget creation, >I get XmDIALOG_SELECTION. I just confirmed that this is indeed the case. At the moment I have no idea why this is broken. However, there is a simple workaround. If you change XmSelectionDialog to XmPromptDialog in your Uil file, you'll get the same behavior as setting XmDIALOG_PROMPT. Hope that helps. Let me know if you have any further questions. W. Scott Meeks | We must live with the fact, true throughout recorded Open Software Foundation | history, that our artifacts are sometimes flawed and meeks@osf.org | cause us to die in novel and unexpected ways, and we (617) 621-7229 | can only do our human best to minimize the problems.