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

Home » Public Forums » archive » Re: Widget Placement
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Widget Placement [message #12746 is a reply to message #12743] Fri, 04 September 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Bernard Puc (bpuc@va.aetc.com) writes:

> Is there a neat way of locating a widget to appear flush against the
> bottom and right edge of the screen? By neat I mean without having
> to calculate the x and y dimensions of the widget and figuring out
> the offsets.

I should think that, given a top-level widget base ID, a
computer would be good at finding out the size of the base,
the size of the display, calculating the offsets, and positioning
the base where you wanted it. Have you thought about
writing a procedure that did this? Then you could call the
procedure instead of calculating all of this stuff
with a pencil. :-)

Cheers,

David

P.S. Don't be overly concerned with positioning widget programs.
People with pointing devices tend to move things where they want
them, no matter what kind of layout you think is aesthetically
pleasing.

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How do I get IDL to see that my procedure exists?
Next Topic: Re: Menu separation.

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

Current Time: Sun Oct 12 04:35:01 PDT 2025

Total time taken to generate the page: 2.39961 seconds