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

Home » Public Forums » archive » Re: /MODAL makes widgets disappear
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: /MODAL makes widgets disappear [message #20010] Fri, 12 May 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
D. Mattes (dmattes@u.washington.edu) writes:

> here is the code that builds the widget hierarchy, and the widget event
> handler. it's not that much code, so i included all of it. maybe it has
> something to do with the implicit x-sizing of the cw_field. but why would
> that depend only on whether it was spawned as a modal widget???

My, God! This looks like code the IDL GUI-Builder would spit out. :-(

Yes, I suspect all that specific sizing that is going on to get
things looking right on the PC is not working correctly on
a UNIX machine. I don't know what the MODAL keyword
has to do with it, but I'm not surprised about having problems.
The GUI-Builder is inherently ill-suited to producing platform-
independent code, IMHO.

My suggestion is to take 15 minutes and code this up
with column and row bases (and get rid of the Common
blocks while you are at it) and you will be fine.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: help on IDL
Next Topic: Max memory on IRIX?

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

Current Time: Wed Oct 08 19:07:07 PDT 2025

Total time taken to generate the page: 0.03735 seconds