comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Placement of Floating widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Placement of Floating widgets [message #10491] Wed, 10 December 1997 00:00 Go to next message
Matthew Hanson is currently offline  Matthew Hanson
Messages: 11
Registered: October 1997
Junior Member
When i set a group leader and set the floating keyword i would expect
that the new widget would be in the center of the group leader. It is
not. The top left hand corner of the widget is in the center! If the
offset keywords are set they just move it from the top left of the
screen. Anyone know how to make a widget appear in the exact center of
it's group leader?
-matt


--
Matthew Hanson

KTAADN, Inc. Phone: (617)527-0054
1320 Centre Street, Suite 201 Fax: (617)527-9321
Newton, MA 02159

matt@ktaadn.com matth@who.net vroomfogle@worldnet.att.net
Re: Placement of Floating widgets [message #10579 is a reply to message #10491] Thu, 11 December 1997 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Matthew Hanson wrote:
>
> When i set a group leader and set the floating keyword i would expect
> that the new widget would be in the center of the group leader. It is
> not. The top left hand corner of the widget is in the center! If the
> offset keywords are set they just move it from the top left of the
> screen. Anyone know how to make a widget appear in the exact center of
> it's group leader?
> -matt

Matt -

You can download the files POS_WIDGET.PRO and POS_WIDGET.DOC from
my anonymous ftp site:

bial8.ucsd.edu pub/software/idl/share

This routine makes it very easy to position widgets based on their
group leader, and offers a variety of options. Even if you don't
want to use it, it is a good example of how to position widgets.

Hope this helps, and I hope you've learned something about 'netiquette'
in the process.

Dave

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: state = WIDGET_INFO( button, /BUTTON_SELECT )
Next Topic: Deleting and erasing lines

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:07:10 PDT 2025

Total time taken to generate the page: 0.00575 seconds