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

Home » Public Forums » archive » Re: controlling dialog widget size
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: controlling dialog widget size [message #30473 is a reply to message #30472] Wed, 01 May 2002 10:48 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Virginia Rogers wrote:

> Hello,
>
> Is there a way to ensure that my modal dialog widget will fit on any display
> screen? I have a modal dialog which is arranged in a column. On most displays,
> the whole widget fits on the screen. But on some smaller displays, the widget
> is too tall to fit on the screen, and thus, the "OK" button at the bottom of the
> widget cannot be selected.
>
> I realize that I could arrange the widget into two columns so that it is shorter
> and wider. But what I'm really interested in is a general way of ensuring that
> a dialog will fit on any screen. Should I check the screen size and check the
> size of the top level base and rearange the dialog if necessary? ...

Yes, that will work, but it's pretty complicated to do it right.

> Can you add a
> scroll bar to a dialog?

Yes, that's simpler and more general. Just create the TLB with the
SCROLL keyword.

> Any other ideas?

Another possibility is to split your dialog into multiple smaller
dialogs. If you're filling the screen with a single dialog, it may be
too complicated.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: color_quan(...., Cube=6) makes white white, but ...
Next Topic: controlling dialog widget size

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

Current Time: Tue Oct 14 12:05:26 PDT 2025

Total time taken to generate the page: 0.79975 seconds