Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!ncar!ames!lll-lcc!chapman From: chapman@lll-lcc.UUCP (Carol Chapman) Newsgroups: comp.windows.x,ba.windows.x Subject: probs with XtNfromVert and XtNvertDistance in form widget Keywords: X11R3, Athena, XtNfromVert assumes NULL argument Message-ID: <2433@lll-lcc.UUCP> Date: 19 Apr 89 03:51:38 GMT Followup-To: poster Organization: Livermore National Laboratory Lines: 18 I am using 3 Core widgets within a form widget. The form widget is within a scrollable viewport widget. Each Core widget contains a different color image that I am trying to display. I pass arguments to XtNfromVert and XtNvertDistance to tell the form widget where to place the Core widgets. As far as I can tell, XtNvertDistance works ok, but no matter what I tell it, XtNfromVert seems to assume that the distance is from the top edge of the form rather than from the Core widget whose id I pass as an argument. Am I doing something wrong? If this is a bug, can someone please suggest a way around this? I must be able to display all 3 Core widgets simultaneously. carol -- ------------------------------------------------------------------------------- Livermore Lab (chapman@lll-crg.llnl.gov or chapman@lll-lcc.llnl.gov) P.O. Box 808, L-153 Tel. (415) 423-7876 Livermore, CA 94550 "Never own anything that you have to FEED or PAINT."